pixbuf_get_aspect_ratio


Description:


public float pixbuf_get_aspect_ratio (Pixbuf pixbuf)

Gets the aspect ratio of pixbuf by reading the 'aspect-ratio' pixbuf option.

Parameters:

pixbuf

a Pixbuf

Returns:

the aspect ratio, or 0 if the option is not set or its value is invalid.


Namespace: Retro
Package: retro-gtk-1