Top |
gfloat
retro_pixbuf_get_aspect_ratio (GdkPixbuf *pixbuf
);
Gets the aspect ratio of pixbuf
by reading the 'aspect-ratio' pixbuf option.
void retro_pixbuf_set_aspect_ratio (GdkPixbuf *pixbuf
,gfloat aspect_ratio
);
Sets the aspect ratio of pixbuf
by setting the 'aspect-ratio' pixbuf option.
Use retro_pixbuf_get_aspect_ratio()
to retrieve it.