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 program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef GNOME_CANVAS_PIXBUF_H
21 #define GNOME_CANVAS_PIXBUF_H
23 #include <libgnomecanvas/gnome-canvas.h>
27 #define GNOME_TYPE_CANVAS_PIXBUF (gnome_canvas_pixbuf_get_type ())
28 #define GNOME_CANVAS_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbuf))
29 #define GNOME_CANVAS_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbufClass))
30 #define GNOME_IS_CANVAS_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_CANVAS_PIXBUF))
31 #define GNOME_IS_CANVAS_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_PIXBUF))
32 #define GNOME_CANVAS_PIXBUF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbufClass))
34 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf
;
35 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass
;
36 typedef struct _GnomeCanvasPixbufPrivate GnomeCanvasPixbufPrivate
;
38 struct _GnomeCanvasPixbuf
{
42 GnomeCanvasPixbufPrivate
*priv
;
45 struct _GnomeCanvasPixbufClass
{
46 GnomeCanvasItemClass parent_class
;
49 GType
gnome_canvas_pixbuf_get_type (void) G_GNUC_CONST
;