1 /* GNOME libraries - GdkPixbuf item for the GNOME canvas
3 * Copyright (C) 1999 The Free Software Foundation
5 * Author: Federico Mena-Quintero <federico@gimp.org>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
23 #ifndef GNOME_CANVAS_PIXBUF_H
24 #define GNOME_CANVAS_PIXBUF_H
26 #include <libgnome/gnome-defs.h>
27 #include <libgnomeui/gnome-canvas.h>
33 #define GNOME_TYPE_CANVAS_PIXBUF (gnome_canvas_pixbuf_get_type ())
34 #define GNOME_CANVAS_PIXBUF(obj) (GTK_CHECK_CAST ((obj), \
35 GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbuf))
36 #define GNOME_CANVAS_PIXBUF_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), \
37 GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbufClass))
38 #define GNOME_IS_CANVAS_PIXBUF(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_PIXBUF))
39 #define GNOME_IS_CANVAS_PIXBUF_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), \
40 GNOME_TYPE_CANVAS_PIXBUF))
43 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
44 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
46 struct _GnomeCanvasPixbuf {
53 struct _GnomeCanvasPixbufClass {
54 GnomeCanvasItemClass parent_class;
58 GtkType gnome_canvas_pixbuf_get_type (void);