![]() |
![]() |
![]() |
libccc Reference Manual | ![]() |
---|---|---|---|---|
#include <ccc.h> typedef CcPixbuf; typedef CcPixbufClass; gdouble cc_pixbuf_get_rotation (CcPixbuf const*self); GType cc_pixbuf_get_type (void); CcItem* cc_pixbuf_new (void); void cc_pixbuf_set_pixbuf (CcPixbuf *self, GdkPixbuf *pixbuf); void cc_pixbuf_set_position (CcPixbuf *self, gdouble x, gdouble y, gdouble w, gdouble h); void cc_pixbuf_set_rotation (CcPixbuf *self, gdouble rotation); void cc_pixbuf_set_position_x (CcPixbuf *self, gdouble pos_x); void cc_pixbuf_set_position_y (CcPixbuf *self, gdouble pos_y);
"pixbuf" GdkPixbuf : Read / Write "position-h" gdouble : Read / Write "position-h-set" gboolean : Read / Write "position-w" gdouble : Read / Write "position-w-set" gboolean : Read / Write "position-x" gdouble : Read / Write "position-y" gdouble : Read / Write "rotation" gdouble : Read / Write
void cc_pixbuf_set_pixbuf (CcPixbuf *self, GdkPixbuf *pixbuf);
self : |
|
pixbuf : |
void cc_pixbuf_set_position (CcPixbuf *self, gdouble x, gdouble y, gdouble w, gdouble h);
self : |
|
x : |
|
y : |
|
w : |
|
h : |
void cc_pixbuf_set_rotation (CcPixbuf *self, gdouble rotation);
self : |
|
rotation : |
void cc_pixbuf_set_position_x (CcPixbuf *self, gdouble pos_x);
self : |
|
pos_x : |
void cc_pixbuf_set_position_y (CcPixbuf *self, gdouble pos_y);
self : |
|
pos_y : |
position-h
" property"position-h" gdouble : Read / Write
The height of the image.
Default value: 0
position-h-set
" property"position-h-set" gboolean : Read / Write
Use the specified height instead of the image height.
Default value: FALSE
position-w
" property"position-w" gdouble : Read / Write
The width of the image.
Default value: 0
position-w-set
" property"position-w-set" gboolean : Read / Write
Use the specified width instead of the image width.
Default value: FALSE
position-x
" property"position-x" gdouble : Read / Write
The horizontal position of the pixbuf.
Default value: 0
position-y
" property"position-y" gdouble : Read / Write
The vertical position of the pixbuf.
Default value: 0