| crcanvas: A GTK/Cairo Canvas Widget | ||||
|---|---|---|---|---|
CrEllipse;
CrItem* cr_ellipse_new (CrItem *parent,
double x,
double y,
double width,
double height,
double orientation,
const gchar *first_arg_name,
...);
"height" gdouble : Read / Write "orientation" gdouble : Read / Write "width" gdouble : Read / Write
The ellipse is defined by its center point "x", "y", its "width" half to either side of x, its "height" half to either side of y, and its "orientation" measure clockwise from the positive X axis.
CrItem* cr_ellipse_new (CrItem *parent, double x, double y, double width, double height, double orientation, const gchar *first_arg_name, ...);
A convenience constructor for creating an ellipse and adding it to an item group in one step.
|
The parent canvas item. |
|
Center point |
|
Center point |
|
Width in item units. |
|
Height in item units. |
|
Angle of ellipse in degrees counter-clockwise from the positive X axis. |
|
|
|
|
Returns : |
A reference to a new CrItem. You must call g_object_ref if you intend to use this reference outside the local scope. |
"height" property"height" gdouble : Read / Write
Ellipse height axis length in item units. Note this is half above #CrItem:y and half below #CrItem:y.
Default value: 0
"orientation" property"orientation" gdouble : Read / Write
Ellipse orientation angle in radians CW from the positive X axis.
Default value: 0
"width" property"width" gdouble : Read / Write
Ellipse width axis length in item units. Note this is half to the left of #CrItem:x and half to the right of #CrItem:x.
Default value: 0