Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- cleanup :: (HasCallStack, MonadIO m) => m ()
- setDefaultDpi :: (HasCallStack, MonadIO m) => Double -> m ()
- setDefaultDpiXY :: (HasCallStack, MonadIO m) => Double -> Double -> m ()
Methods
cleanup
cleanup :: (HasCallStack, MonadIO m) => m () Source #
Deprecated: (Since version 2.46)No-op. This function should not be called from normal programs.
No description available in the introspection data.
Since: 2.36
setDefaultDpi
:: (HasCallStack, MonadIO m) | |
=> Double |
|
-> m () |
Deprecated: (Since version 2.42.3)This function used to set a global default DPI. However,it only worked if it was called before any Handle
objects had beencreated; it would not work after that. To avoid global mutable state, pleaseuse handleSetDpi
instead.
Do not use this function. Create an Handle
and call
handleSetDpi
on it instead.
Since: 2.8
setDefaultDpiXY
:: (HasCallStack, MonadIO m) | |
=> Double |
|
-> Double |
|
-> m () |
Deprecated: (Since version 2.42.3)This function used to set a global default DPI. However,it only worked if it was called before any Handle
objects had beencreated; it would not work after that. To avoid global mutable state, pleaseuse handleSetDpi
instead.
Do not use this function. Create an Handle
and call
handleSetDpiXY
on it instead.
Since: 2.8