Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Graphics.UI.Gtk.ImageView.Zooms
Description
- zoomsGetZoomIn :: Double -> IO Double
- zoomsGetZoomOut :: Double -> IO Double
- zoomsGetMinZoom :: IO Double
- zoomsGetMaxZoom :: IO Double
- zoomsClampZoom :: Double -> IO Double
Details
ImageView
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
Arguments
:: Double |
|
-> IO Double | returns a zoom factor that is one step larger than the supplied one |
Returns the zoom factor that is one step larger than the supplied zoom factor.
Arguments
:: Double |
|
-> IO Double | returns a zoom factor that is one step smaller than the supplied one. |
Returns the zoom factor that is one step smaller than the supplied zoom factor.
Returns the minimum allowed zoom factor.
Returns the maximum allowed zoom factor.