Extensions to gdk-pixbuf

Extensions to gdk-pixbuf — Miscelleanous extensions to the gdk-pixbuf library

Synopsis


#include <exo/exo.h>


GdkPixbuf*  exo_gdk_pixbuf_scale_ratio      (GdkPixbuf *source,
                                             gint dest_size);

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.