Gtk2::ImageView::Zoom
Functions for dealing with zoom factors
Functions for dealing with zoom factors
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.
Returns the zoom factor clamped to the minumum and maximum allowed values.
Returns the maximum allowed zoom factor.
Returns the minimum allowed zoom factor.
Returns the zoom factor that is one step larger than the supplied zoom factor.
Returns the zoom factor that is one step smaller than the supplied zoom factor.
Gtk2::ImageView
Copyright (C) 2007 by Jeffrey Ratcliffe.
This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.