Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype PSFile = PSFile (ManagedPtr PSFile)
- class (GObject o, IsDescendantOf PSFile o) => IsPSFile o
- toPSFile :: (MonadIO m, IsPSFile o) => o -> m PSFile
- noPSFile :: Maybe PSFile
- pSFileFree :: (HasCallStack, MonadIO m, IsPSFile a) => a -> m ()
- pSFileNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Text -> Int32 -> Int32 -> m PSFile
- pSFileSetDuplex :: (HasCallStack, MonadIO m, IsPSFile a) => a -> Bool -> m ()
- pSFileSetPaperSize :: (HasCallStack, MonadIO m, IsPSFile a) => a -> Double -> Double -> m ()
Exported types
Memory-managed wrapper type.
Instances
GObject PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile gobjectType :: IO GType # | |
HasParentTypes PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile | |
type ParentTypes PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile |
class (GObject o, IsDescendantOf PSFile o) => IsPSFile o Source #
Instances
(GObject o, IsDescendantOf PSFile o) => IsPSFile o Source # | |
Defined in GI.Poppler.Objects.PSFile |
Methods
free
:: (HasCallStack, MonadIO m, IsPSFile a) | |
=> a |
|
-> m () |
Frees psFile
new
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Text |
|
-> Int32 |
|
-> Int32 |
|
-> m PSFile | Returns: a PopplerPSFile |
Create a new postscript file to render to
setDuplex
:: (HasCallStack, MonadIO m, IsPSFile a) | |
=> a |
|
-> Bool |
|
-> m () |
Enable or disable Duplex printing.
setPaperSize
:: (HasCallStack, MonadIO m, IsPSFile a) | |
=> a |
|
-> Double |
|
-> Double |
|
-> m () |
Set the output paper size. These values will end up in the DocumentMedia, the BoundingBox DSC comments and other places in the generated PostScript.