1 #ifndef GNOME_CANVAS_CLIPGROUP_H
2 #define GNOME_CANVAS_CLIPGROUP_H
4 /* Clipping group implementation for GnomeCanvas
6 * GnomeCanvas is basically a port of the Tk toolkit's most excellent canvas widget. Tk is
7 * copyrighted by the Regents of the University of California, Sun Microsystems, and other parties.
9 * TODO: Implement this in libgnomeui, possibly merge with real group
11 * Copyright (C) 1998,1999 The Free Software Foundation
14 * Lauris Kaplinski <lauris@ximian.com>
17 #include <libgnomecanvas/gnome-canvas.h>
18 #include <libgnomecanvas/gnome-canvas-util.h>
20 #include <libart_lgpl/art_bpath.h>
21 #include <libart_lgpl/art_svp_wind.h>
22 #include <libart_lgpl/art_vpath_dash.h>
23 #include <libgnomecanvas/gnome-canvas-path-def.h>
28 #define GNOME_TYPE_CANVAS_CLIPGROUP (gnome_canvas_clipgroup_get_type ())
29 #define GNOME_CANVAS_CLIPGROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_CANVAS_CLIPGROUP, GnomeCanvasClipgroup))
30 #define GNOME_CANVAS_CLIPGROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_CLIPGROUP, GnomeCanvasClipgroupClass))
31 #define GNOME_IS_CANVAS_CLIPGROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_CANVAS_CLIPGROUP))
32 #define GNOME_IS_CANVAS_CLIPGROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_CLIPGROUP))
35 typedef struct _GnomeCanvasClipgroup GnomeCanvasClipgroup;
36 typedef struct _GnomeCanvasClipgroupClass GnomeCanvasClipgroupClass;
38 struct _GnomeCanvasClipgroup {
39 GnomeCanvasGroup group;
41 GnomeCanvasPathDef * path;
47 struct _GnomeCanvasClipgroupClass {
48 GnomeCanvasGroupClass parent_class;
52 /* Standard Gtk function */
53 GType gnome_canvas_clipgroup_get_type (void) G_GNUC_CONST;