1Gtk2::ImageView::Zoom(3U)ser Contributed Perl DocumentatiGotnk2::ImageView::Zoom(3)
2
3
4

NAME

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

DESCRIPTION

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

METHODS

14   double = Gtk2::ImageView::Zoom->clamp_zoom ($zoom)
15       ·   $zoom (double)
16
17       Returns the zoom factor clamped to the minumum and maximum allowed
18       values.
19
20   double = Gtk2::ImageView::Zoom->get_max_zoom
21       Returns the maximum allowed zoom factor.
22
23   double = Gtk2::ImageView::Zoom->get_min_zoom
24       Returns the minimum allowed zoom factor.
25
26   double = Gtk2::ImageView::Zoom->get_zoom_in ($zoom)
27       ·   $zoom (double)
28
29       Returns the zoom factor that is one step larger than the supplied zoom
30       factor.
31
32   double = Gtk2::ImageView::Zoom->get_zoom_out ($zoom)
33       ·   $zoom (double)
34
35       Returns the zoom factor that is one step smaller than the supplied zoom
36       factor.
37

SEE ALSO

39       Gtk2::ImageView
40
42       Copyright (C) 2007 by Jeffrey Ratcliffe.
43
44       This software is licensed under the GPL-3; see Gtk2::ImageView for a
45       full notice.
46
47
48
49perl v5.32.0                      2020-07-28          Gtk2::ImageView::Zoom(3)
Impressum