Top |
AsImage * | as_image_new () |
AsImageKind | as_image_kind_from_string () |
const gchar * | as_image_kind_to_string () |
const gchar * | as_image_get_url () |
guint | as_image_get_width () |
guint | as_image_get_height () |
AsImageKind | as_image_get_kind () |
void | as_image_set_url () |
void | as_image_set_width () |
void | as_image_set_height () |
void | as_image_set_kind () |
Screenshot may have multiple versions of an image in different resolutions or aspect ratios. This object allows access to the location and size of a single image.
See also: AsScreenshot
AsImageKind
as_image_kind_from_string (const gchar *kind
);
Converts the text representation to an enumerated value.
Since 0.1.0
const gchar *
as_image_kind_to_string (AsImageKind kind
);
Converts the enumerated value to an text representation.
Since 0.1.0
const gchar *
as_image_get_url (AsImage *image
);
Gets the full qualified URL for the image, usually pointing at some mirror.
Since 0.1.0
guint
as_image_get_height (AsImage *image
);
Gets the image height.
Since 0.1.0
AsImageKind
as_image_get_kind (AsImage *image
);
Gets the image kind.
Since 0.1.0
void as_image_set_url (AsImage *image
,const gchar *url
,gssize url_len
);
Sets the fully-qualified mirror URL to use for the image.
Since 0.1.0
void as_image_set_width (AsImage *image
,guint width
);
Sets the image width.
Since 0.1.0
void as_image_set_height (AsImage *image
,guint height
);
Sets the image height.
Since 0.1.0
void as_image_set_kind (AsImage *image
,AsImageKind kind
);
Sets the image kind.
Since 0.1.0