![]() |
![]() |
![]() |
Grilo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <grilo.h> GrlMediaImageClass; void grl_media_image_set_width (GrlMediaImage *data
,gint width
); void grl_media_image_set_height (GrlMediaImage *data
,gint height
); gint grl_media_image_get_width (GrlMediaImage *data
); gint grl_media_image_get_height (GrlMediaImage *data
); GrlMedia * grl_media_image_new (void
); void grl_media_image_set_size (GrlMediaImage *image
,gint width
,gint height
);
This high level class represents an image multimedia item. It has methods to set and get the size, width and height properties
typedef struct { GrlMediaClass parent_class; } GrlMediaImageClass;
Grilo Media image Class
GrlMediaClass |
the parent class structure |
void grl_media_image_set_width (GrlMediaImage *data
,gint width
);
Set the width of the image
|
the image instance |
|
the image's width |
Since 0.1.4
void grl_media_image_set_height (GrlMediaImage *data
,gint height
);
Set the height of the image
|
the image instance |
|
the image's height |
Since 0.1.4
gint grl_media_image_get_width (GrlMediaImage *data
);
|
The image instance |
Returns : |
the width of the image |
Since 0.1.4
gint grl_media_image_get_height (GrlMediaImage *data
);
|
the image instance |
Returns : |
the height of the image |
Since 0.1.4
GrlMedia * grl_media_image_new (void
);
Creates a new data image object.
Returns : |
a newly-allocated data image. |
Since 0.1.4