Gtk2::ImageView::Zoom.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::ImageView::Zoom - Functions for dealing with zoom factors

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.

METHODS

double = Gtk2::ImageView::Zoom->clamp_zoom ($zoom)

*
$zoom (double)

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].

double = Gtk2::ImageView::Zoom->get_max_zoom

Returns the maximum allowed zoom factor.

Returns

The maximal zoom factor.

double = Gtk2::ImageView::Zoom->get_min_zoom

Returns the minimum allowed zoom factor.

Returns

The minimal zoom factor.

double = Gtk2::ImageView::Zoom->get_zoom_in ($zoom)

*
$zoom (double)

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

double = Gtk2::ImageView::Zoom->get_zoom_out ($zoom)

*
$zoom (double)

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.

SEE ALSO

Gtk2::ImageView Copyright (C) 2007 by Jeffrey Ratcliffe.

This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:
Around line 42:
You forgot a '=back' before '=head3'
Around line 51:
=back without =over
Around line 60:
You forgot a '=back' before '=head3'
Around line 69:
=back without =over
Around line 78:
You forgot a '=back' before '=head3'
Around line 87:
=back without =over
Around line 108:
You forgot a '=back' before '=head3'
Around line 117:
=back without =over
Around line 138:
You forgot a '=back' before '=head3'
Around line 147:
=back without =over