![]() |
![]() |
![]() |
libccc Reference Manual | ![]() |
---|---|---|---|---|
CcRectangle; CcRectangleClass; CcItem* cc_rectangle_new (void); void cc_rectangle_set_position (CcRectangle *self, gdouble x, gdouble y, gdouble w, gdouble h);
"position-h" gdouble : Read / Write "position-w" gdouble : Read / Write "position-x" gdouble : Read / Write "position-y" gdouble : Read / Write
void cc_rectangle_set_position (CcRectangle *self, gdouble x, gdouble y, gdouble w, gdouble h);
self : |
|
x : |
|
y : |
|
w : |
|
h : |
position-h
" property"position-h" gdouble : Read / Write
The height of the rectangle.
Default value: 0
position-w
" property"position-w" gdouble : Read / Write
The width of the rectangle.
Default value: 0
position-x
" property"position-x" gdouble : Read / Write
The x position of the rectangle.
Default value: 0