---
name: "Gtk2::ImageView::Zoom"
section: "3pm"
platform: "linux"
package: "libgtk2-imageview-perl"
version: "0.05-2+b3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::ImageView::Zoom"
---

# Gtk2::ImageView::Zoom(3pm)

Functions for dealing with zoom factors

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

## SEE ALSO

Gtk2::ImageView

## COPYRIGHT

Copyright (C) 2007 by Jeffrey Ratcliffe.

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