Base class for canvas item shapes
Provides a base class for canvas item shapes, including:
<gnome-canvas-bpath>, <gnome-canvas-ellipse>,
<gnome-canvas-rect>, and <gnome-canvas-polygon>.
Derives from
<gnome-canvas-item>.This class defines the following properties:
fill-colorfill-color-gdkfill-color-rgbaoutline-coloroutline-color-gdkoutline-color-rgbafill-stippleoutline-stipplewidth-pixelswidth-unitscap-stylejoin-stylewindmiterlimitdash
<gnome-canvas-shape>) (def <gnome-canvas-path-def>)This function sets the the GnomeCanvasPathDef used by the GnomeCanvasShape. Notice, that it does not request updates, as it is meant to be used from item implementations, from inside update queue.
- shape
- a GnomeCanvasShape
- def
- a GnomeCanvasPathDef
<gnome-canvas-shape>) ⇒ (ret <gnome-canvas-path-def>)This function returns the
<gnome-canvas-path-def>that the shape currently uses. It adds a reference to the<gnome-canvas-path-def>and returns it, if there is not a<gnome-canvas-path-def>set for the shape it returns NULL.
- shape
- a GnomeCanvasShape
- ret
- a
<gnome-canvas-path-def>or NULL if none is set for the shape.