1Gtk2::ImageView::Zoom(3U)ser Contributed Perl DocumentatiGotnk2::ImageView::Zoom(3)
2
3
4
6 Gtk2::ImageView::Zoom - Functions for dealing with zoom factors
7
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
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 value.
19
20 zoom : A zoom factor.
21
22 Returns
23
24 The zoom factor clamped to the interval [min, max].
25
26 double = Gtk2::ImageView::Zoom->get_max_zoom
27 Returns the maximum allowed zoom factor.
28
29 Returns
30
31 The maximal zoom factor.
32
33 double = Gtk2::ImageView::Zoom->get_min_zoom
34 Returns the minimum allowed zoom factor.
35
36 Returns
37
38 The minimal zoom factor.
39
40 double = Gtk2::ImageView::Zoom->get_zoom_in ($zoom)
41 · $zoom (double)
42
43 Returns the zoom factor that is one step larger than the supplied
44 zoom factor.
45
46 zoom : A zoom factor.
47
48 Returns
49
50 a zoom factor that is one step larger than the supplied one
51
52 double = Gtk2::ImageView::Zoom->get_zoom_out ($zoom)
53 · $zoom (double)
54
55 Returns the zoom factor that is one step smaller than the supplied
56 zoom factor.
57
58 zoom : A zoom factor.
59
60 Returns
61
62 a zoom factor that is one step smaller than the supplied one.
63
65 Gtk2::ImageView
66
68 Copyright (C) 2007 by Jeffrey Ratcliffe.
69
70 This software is licensed under the GPL-3; see Gtk2::ImageView for a
71 full notice.
72
74 Hey! The above document had some coding errors, which are explained
75 below:
76
77 Around line 42:
78 You forgot a '=back' before '=head3'
79
80 Around line 51:
81 =back without =over
82
83 Around line 60:
84 You forgot a '=back' before '=head3'
85
86 Around line 69:
87 =back without =over
88
89 Around line 78:
90 You forgot a '=back' before '=head3'
91
92 Around line 87:
93 =back without =over
94
95 Around line 108:
96 You forgot a '=back' before '=head3'
97
98 Around line 117:
99 =back without =over
100
101 Around line 138:
102 You forgot a '=back' before '=head3'
103
104 Around line 147:
105 =back without =over
106
107
108
109perl v5.12.0 2010-05-02 Gtk2::ImageView::Zoom(3)