pixbuf

pixbuf

Synopsis


#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);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----CcItem
               +----CcPixbuf

Implemented Interfaces

CcPixbuf implements CcItemView.

Properties


  "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

Description

Details

CcPixbuf

typedef CcItem      CcPixbuf;


CcPixbufClass

typedef CcItemClass CcPixbufClass;


cc_pixbuf_get_rotation ()

gdouble             cc_pixbuf_get_rotation              (CcPixbuf const*self);

self :
Returns :

cc_pixbuf_get_type ()

GType               cc_pixbuf_get_type                  (void);

Returns :

cc_pixbuf_new ()

CcItem*             cc_pixbuf_new                       (void);

Returns :

cc_pixbuf_set_pixbuf ()

void                cc_pixbuf_set_pixbuf                (CcPixbuf *self,
                                                         GdkPixbuf *pixbuf);

self :
pixbuf :

cc_pixbuf_set_position ()

void                cc_pixbuf_set_position              (CcPixbuf *self,
                                                         gdouble x,
                                                         gdouble y,
                                                         gdouble w,
                                                         gdouble h);

self :
x :
y :
w :
h :

cc_pixbuf_set_rotation ()

void                cc_pixbuf_set_rotation              (CcPixbuf *self,
                                                         gdouble rotation);

self :
rotation :

cc_pixbuf_set_position_x ()

void                cc_pixbuf_set_position_x            (CcPixbuf *self,
                                                         gdouble pos_x);

self :
pos_x :

cc_pixbuf_set_position_y ()

void                cc_pixbuf_set_position_y            (CcPixbuf *self,
                                                         gdouble pos_y);

self :
pos_y :

Property Details

The "pixbuf" property

  "pixbuf"                   GdkPixbuf             : Read / Write

pixbuf.


The "position-h" property

  "position-h"               gdouble               : Read / Write

The height of the image.

Default value: 0


The "position-h-set" property

  "position-h-set"           gboolean              : Read / Write

Use the specified height instead of the image height.

Default value: FALSE


The "position-w" property

  "position-w"               gdouble               : Read / Write

The width of the image.

Default value: 0


The "position-w-set" property

  "position-w-set"           gboolean              : Read / Write

Use the specified width instead of the image width.

Default value: FALSE


The "position-x" property

  "position-x"               gdouble               : Read / Write

The horizontal position of the pixbuf.

Default value: 0


The "position-y" property

  "position-y"               gdouble               : Read / Write

The vertical position of the pixbuf.

Default value: 0


The "rotation" property

  "rotation"                 gdouble               : Read / Write

The rotation of this image.

Default value: 0