| Top |
| char * | go_mime_to_image_format () |
| char * | go_image_format_to_mime () |
| GOImageFormatInfo const * | go_image_get_format_info () |
| GOImageFormat | go_image_get_format_from_name () |
| GSList * | go_image_get_formats_with_pixbuf_saver () |
| #define | GO_IMAGE() |
| #define | GO_IS_IMAGE() |
| GType | go_image_get_type () |
| cairo_t * | go_image_get_cairo () |
| cairo_pattern_t * | go_image_create_cairo_pattern () |
| GOImage * | go_image_new_from_pixbuf () |
| GdkPixbuf * | go_image_get_pixbuf () |
| GOImage * | go_image_new_from_file () |
| guint8 * | go_image_get_pixels () |
| int | go_image_get_rowstride () |
| void | go_image_fill () |
| char const * | go_image_get_name () |
| GdkPixbuf * | go_image_get_thumbnail () |
| void | go_image_load_attrs () |
| void | go_image_load_data () |
| gboolean | go_image_same_pixbuf () |
| void | go_image_save () |
| GtkWidget * | go_image_sel_new () |
| void | go_image_set_name () |
GOImageFormatInfo const *
go_image_get_format_info (GOImageFormat format);
Retrieves infromation associated to format
.
cairo_pattern_t *
go_image_create_cairo_pattern (GOImage *image);
a cairo_pattern usable for cairo_set_source.
Note: this function has lifespan issues. The resulting pattern in only valid until (a) a pixbuf is set for the, or (b) a pixbuf is _read_ from the image. In either of these cases, the pattern must have been destroyed beforehand. In particular, if the pattern has been attached to a surface, that surface must either be finished itself, or have had a new pattern attached. See 632439.
void go_image_load_attrs (GOImage *image,GsfXMLIn *xin,xmlChar const **attrs);
typedef struct {
GOImageFormat format;
char *name;
char *desc;
char *ext;
gboolean has_pixbuf_saver;
gboolean is_dpi_useful;
gboolean alpha_support;
} GOImageFormatInfo;
“height” property“height” guint
Image height in pixels.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
“pixbuf” property “pixbuf” GdkPixbuf *
GdkPixbuf object from which the GOImage is built.
Flags: Read / Write
“width” property“width” guint
Image width in pixels.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0