1 /* Bpath item type for GnomeCanvas widget
3 * GnomeCanvas is basically a port of the Tk toolkit's most excellent canvas widget. Tk is
4 * copyrighted by the Regents of the University of California, Sun Microsystems, and other parties.
6 * Copyright (C) 1998,1999 The Free Software Foundation
8 * Authors: Federico Mena <federico@nuclecu.unam.mx>
9 * Raph Levien <raph@acm.org>
10 * Lauris Kaplinski <lauris@ximian.com>
11 * Rusty Conover <rconover@bangtail.net>
14 #ifndef GNOME_CANVAS_BPATH_H
15 #define GNOME_CANVAS_BPATH_H
17 #include <libgnomecanvas/gnome-canvas.h>
18 #include <libgnomecanvas/gnome-canvas-shape.h>
19 #include <libgnomecanvas/gnome-canvas-path-def.h>
24 /* Bpath item for the canvas.
26 * The following object arguments are available:
28 * name type read/write description
29 * ------------------------------------------------------------------------------------------
30 * bpath GnomeCanvasPathDef * RW Pointer to an GnomeCanvasPathDef structure.
31 * This can be created by a call to
32 * gp_path_new() in (gp-path.h).
35 #define GNOME_TYPE_CANVAS_BPATH (gnome_canvas_bpath_get_type ())
36 #define GNOME_CANVAS_BPATH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpath))
37 #define GNOME_CANVAS_BPATH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpathClass))
38 #define GNOME_IS_CANVAS_BPATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_CANVAS_BPATH))
39 #define GNOME_IS_CANVAS_BPATH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_BPATH))
42 typedef struct _GnomeCanvasBpath GnomeCanvasBpath;
43 typedef struct _GnomeCanvasBpathPriv GnomeCanvasBpathPriv;
44 typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass;
46 struct _GnomeCanvasBpath {
47 GnomeCanvasShape item;
51 struct _GnomeCanvasBpathClass {
52 GnomeCanvasShapeClass parent_class;
56 /* Standard Gtk function */
57 GType gnome_canvas_bpath_get_type (void) G_GNUC_CONST;