| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Poppler.Objects.PSFile
Description
No description available in the introspection data.
Synopsis
- newtype PSFile = PSFile (ManagedPtr PSFile)
- class GObject 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.
Constructors
| PSFile (ManagedPtr PSFile) |
Instances
| GObject PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile Methods gobjectType :: PSFile -> IO GType # | |
| IsObject PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile | |
| IsPSFile PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile | |
class GObject o => IsPSFile o Source #
Instances
| (GObject a, (UnknownAncestorError PSFile a :: Constraint)) => IsPSFile a Source # | |
Defined in GI.Poppler.Objects.PSFile | |
| IsPSFile PSFile Source # | |
Defined in GI.Poppler.Objects.PSFile | |
Methods
free
Arguments
| :: (HasCallStack, MonadIO m, IsPSFile a) | |
| => a |
|
| -> m () |
Frees psFile
new
Arguments
| :: (HasCallStack, MonadIO m, IsDocument a) | |
| => a |
|
| -> Text |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m PSFile | Returns: a PopplerPSFile |
Create a new postscript file to render to
setDuplex
Arguments
| :: (HasCallStack, MonadIO m, IsPSFile a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Enable or disable Duplex printing.
setPaperSize
Arguments
| :: (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.