ar_scale


Description:

public static Pixbuf ar_scale (Pixbuf source, int width, int height)

Scales a Gdk.Pixbuf, maintaining the original aspect ratio.

Parameters:

source the pixbuf to scale
width the width of the scaled pixbuf
height the height of the scaled pixbuf

Returns:

the scaled pixbuf