GocGroup

GocGroup

Synopsis

                    GocGroup;
GocGroup*           goc_group_new                       (GocGroup *parent);
void                goc_group_add_child                 (GocGroup *parent,
                                                         GocItem *item);
void                goc_group_remove_child              (GocGroup *parent,
                                                         GocItem *item);
void                goc_group_clear                     (GocGroup *group);
void                goc_group_adjust_bounds             (GocGroup const *group,
                                                         double *x0,
                                                         double *y0,
                                                         double *x1,
                                                         double *y1);
void                goc_group_adjust_coords             (GocGroup const *group,
                                                         double *x0,
                                                         double *y0);
void                goc_group_cairo_transform           (GocGroup const *group,
                                                         cairo_t *cr,
                                                         double x,
                                                         double y);

Object Hierarchy

  GObject
   +----GocItem
         +----GocGroup

Properties

  "x"                        gdouble               : Read / Write
  "y"                        gdouble               : Read / Write

Description

Details

GocGroup

typedef struct _GocGroup GocGroup;


goc_group_new ()

GocGroup*           goc_group_new                       (GocGroup *parent);

parent :

Returns :


goc_group_add_child ()

void                goc_group_add_child                 (GocGroup *parent,
                                                         GocItem *item);

parent :

item :


goc_group_remove_child ()

void                goc_group_remove_child              (GocGroup *parent,
                                                         GocItem *item);

parent :

item :


goc_group_clear ()

void                goc_group_clear                     (GocGroup *group);

group :


goc_group_adjust_bounds ()

void                goc_group_adjust_bounds             (GocGroup const *group,
                                                         double *x0,
                                                         double *y0,
                                                         double *x1,
                                                         double *y1);

group :

x0 :

y0 :

x1 :

y1 :


goc_group_adjust_coords ()

void                goc_group_adjust_coords             (GocGroup const *group,
                                                         double *x0,
                                                         double *y0);

group :

x0 :

y0 :


goc_group_cairo_transform ()

void                goc_group_cairo_transform           (GocGroup const *group,
                                                         cairo_t *cr,
                                                         double x,
                                                         double y);

group :

cr :

x :

y :

Property Details

The "x" property

  "x"                        gdouble               : Read / Write

The group horizontal offset.

Default value: 0


The "y" property

  "y"                        gdouble               : Read / Write

The group vertical offset.

Default value: 0