Extensions to gdk-pixbufExtensions to gdk-pixbuf — Miscelleanous extensions to the gdk-pixbuf library | |
Description
This facility includes several functions to extend the basic functionality
provided by the gdk-pixbuf library.
Details
exo_gdk_pixbuf_scale_ratio ()
GdkPixbuf* exo_gdk_pixbuf_scale_ratio (GdkPixbuf *source,
gint dest_size);
Scales source
to dest_size
while preserving the aspect ratio of
source
.
source : | The source GdkPixbuf.
|
dest_size : | The target size in pixel.
|
Returns : | A newly created GdkPixbuf.
|