[Insert name here] Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GnomeCanvasShapePriv; void gnome_canvas_shape_set_path_def (GObject *object, GnomeCanvasPathDef *def); GnomeCanvasPathDef* gnome_canvas_shape_get_path_def (GObject *object); |
void gnome_canvas_shape_set_path_def (GObject *object, GnomeCanvasPathDef *def); |
This function sets the the GnomeCanvasPathDef used by the GnomeCanvasShape.
GnomeCanvasPathDef* gnome_canvas_shape_get_path_def (GObject *object); |
This function returns the GnomeCanvasPathDef that the shape currently uses. It adds a reference to the GnomeCanvasPathDef and returns it, if there is not a GnomeCanvasPathDef set for the shape it returns NULL.
object : | a GnomeCanvasShape |
Returns : | a GnomeCanvasPathDef or NULL if none is set for the shape. |