Jeffrey Ratcliffe > Gtk2-ImageView-0.04 > Zoom.xs

Download:
Gtk2-ImageView-0.04.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Gtk2-ImageView-0.05

DESCRIPTION ^

GtkImageView uses a discrete amount of zoom factors for determining which zoom to set. Using these functions, it is possible to retrieve information and manipulate a zoom factor.

Returns the zoom factor that is one step larger than the supplied zoom factor.

zoom : A zoom factor.

Returns

a zoom factor that is one step larger than the supplied one

Returns the zoom factor that is one step smaller than the supplied zoom factor.

zoom : A zoom factor.

Returns

a zoom factor that is one step smaller than the supplied one.

Returns the minimum allowed zoom factor.

Returns

The minimal zoom factor.

Returns the maximum allowed zoom factor.

Returns

The maximal zoom factor.

Returns the zoom factor clamped to the minumum and maximum allowed value.

zoom : A zoom factor.

Returns

The zoom factor clamped to the interval [min, max].