Gtk2::ImageView::Zoom(3pm)

Gtk2::ImageView::Zoom3pm

Functions for dealing with zoom factors

Overview

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

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

Returns the maximum allowed zoom factor.

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

Returns the minimum allowed 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.

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

•

$zoom (double)

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

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

From libgtk2-imageview-perl 0.05-2+b3 in Debian 9 (Stretch). Parsed by carta from the page's man source.