| Grilo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <grilo.h> struct 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
struct GrlMediaImageClass {
GrlMediaClass parent_class;
};
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 |
void grl_media_image_set_height (GrlMediaImage *data,gint height);
Set the height of the image
|
the image instance |
|
the image's height |
gint grl_media_image_get_width (GrlMediaImage *data);
|
The image instance |
Returns : |
the width of the image |
gint grl_media_image_get_height (GrlMediaImage *data);
|
the image instance |
Returns : |
the height of the image |
GrlMedia * grl_media_image_new (void);
Creates a new data image object.
Returns : |
a newly-allocated data image. |