GnomeCanvasShape

Name

GnomeCanvasShape -- 

Synopsis



struct      GnomeCanvasShapePriv;
void        gnome_canvas_shape_set_path_def (GnomeCanvasShape *shape,
                                             GnomeCanvasPathDef *def);
GnomeCanvasPathDef* gnome_canvas_shape_get_path_def
                                            (GnomeCanvasShape *shape);

Description

Details

struct GnomeCanvasShapePriv

struct GnomeCanvasShapePriv;


gnome_canvas_shape_set_path_def ()

void        gnome_canvas_shape_set_path_def (GnomeCanvasShape *shape,
                                             GnomeCanvasPathDef *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.


gnome_canvas_shape_get_path_def ()

GnomeCanvasPathDef* gnome_canvas_shape_get_path_def
                                            (GnomeCanvasShape *shape);

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.