GnomeCanvasShape

Name

GnomeCanvasShape -- 

Synopsis



struct      GnomeCanvasShapePriv;
void        gnome_canvas_shape_set_path_def (GObject *object,
                                             GnomeCanvasPathDef *def);
GnomeCanvasPathDef* gnome_canvas_shape_get_path_def
                                            (GObject *object);

Description

Details

struct GnomeCanvasShapePriv

struct GnomeCanvasShapePriv;


gnome_canvas_shape_set_path_def ()

void        gnome_canvas_shape_set_path_def (GObject *object,
                                             GnomeCanvasPathDef *def);

This function sets the the GnomeCanvasPathDef used by the GnomeCanvasShape.

object : a GnomeCanvasShape
def : a GnomeCanvasPathDef


gnome_canvas_shape_get_path_def ()

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.