|
|
|
|
adg-1 reference manual |
|
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct AdgRDim; struct AdgRDimClass; AdgRDim * adg_rdim_new (void); AdgRDim * adg_rdim_new_full (const AdgPair *center,const AdgPair *radius,const AdgPair *pos); AdgRDim * adg_rdim_new_full_explicit (,gdouble center_x,gdouble center_y,gdouble radius_x,gdouble radius_y,gdouble pos_x); AdgRDim * adg_rdim_new_full_from_model (gdouble pos_yAdgModel *model,const,gchar *centerconst,gchar *radiusconst);gchar *pos
struct AdgRDim;
All fields are private and should not be used directly. Use its public methods instead.
Since 1.0
AdgRDim * adg_rdim_new (void);
Creates a new uninitialized radial dimension. To be useful, you need at least define the center of the arc to quote in "ref1", a point on the arc in "ref2" and the position of the quote in "pos" using any valid AdgDim method.
|
Returns : |
a newly created quote |
Since 1.0
AdgRDim * adg_rdim_new_full (const AdgPair *center,const AdgPair *radius,const AdgPair *pos);
Creates a new quote by specifying explicitely all the needed data to get a valid quote.
|
|
allow-none: center of the arc to quote |
|
|
allow-none: where the quote must be applied on the arc |
|
|
allow-none: position of the quote text |
|
Returns : |
a newly created quote |
Since 1.0
AdgRDim * adg_rdim_new_full_explicit (,gdouble center_x,gdouble center_y,gdouble radius_x,gdouble radius_y,gdouble pos_x);gdouble pos_y
Does the same job of adg_rdim_full()
|
|
x coordinate of the center of the arc to quote |
|
|
y coordinate of the center of the arc to quote |
|
|
x coordiante where the quote must be applied on the arc |
|
|
y coordiante where the quote must be applied on the arc |
|
|
x coordinate of the quote text |
|
|
y coordinate of the quote text |
|
Returns : |
a newly created quote |
Since 1.0
AdgRDim * adg_rdim_new_full_from_model (AdgModel *model,const,gchar *centerconst,gchar *radiusconst);gchar *pos
Creates a new radial dimension, specifing all the needed properties in
one shot and using named pairs from model.
|
|
transfer-none: the model from which the named pairs are taken |
|
|
allow-none: the center point of the arc to quote |
|
|
allow-none: an arbitrary point on the arc |
|
|
allow-none: the position reference |
|
Returns : |
the newly created radial dimension entity |
Since 1.0