Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
- 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
:: 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.
:: 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.
Returns the zoom factor clamped to the minumum and maximum allowed value.