Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
Use iperender
to generate png, pdf, or svg files.
Note that all functions in this module require that iperender
is
installed (it is bundled with ipe) and available on the path.
Synopsis
- ipeRenderWith :: Options -> FileType -> FilePath -> FilePath -> IO ()
- ipeRender :: FileType -> FilePath -> FilePath -> IO ()
- data FileType
- data Options = Options {
- pageNumber :: Int
- viewNumber :: Int
- resolution :: Int
- transparent :: Background
- crop :: Crop
- defaultOptions :: Options
- data Background
- data Crop
Documentation
:: Options | the options to use |
-> FileType | output file type |
-> FilePath | input file path |
-> FilePath | output file path |
-> IO () |
Call iperender
to produce an image of the specified type.
note that pdf files produces with iperender cannot be opened with ipe.
ipeRender :: FileType -> FilePath -> FilePath -> IO () Source #
Call iperender
with the default options.
note that pdf files produces with iperender cannot be opened with ipe.
Output filetypes supported by iperender
Instances
Enum FileType Source # | |
Eq FileType Source # | |
Ord FileType Source # | |
Defined in Ipe.IpeRender | |
Show FileType Source # | |
Options for iperender
Options | |
|
defaultOptions :: Options Source #
The default options in Ipe
data Background Source #
Whether or not to render a transparent background in output png images.