hgeometry-ipe
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageGHC2024

Ipe.IpeRender

Description

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

Documentation

ipeRenderWith Source #

Arguments

:: Options

the options to use

-> FileType

output file type

-> OsPath

input file path

-> OsPath

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 -> OsPath -> OsPath -> IO () Source #

Call iperender with the default options.

note that pdf files produces with iperender cannot be opened with ipe.

data Options Source #

Options for iperender

Constructors

Options 

Instances

Instances details
Show Options Source # 
Instance details

Defined in Ipe.IpeRender

Eq Options Source # 
Instance details

Defined in Ipe.IpeRender

Ord Options Source # 
Instance details

Defined in Ipe.IpeRender

defaultOptions :: Options Source #

The default options in Ipe

data Background Source #

Whether or not to render a transparent background in output png images.

Instances

Instances details
Enum Background Source # 
Instance details

Defined in Ipe.IpeRender

Read Background Source # 
Instance details

Defined in Ipe.IpeRender

Show Background Source # 
Instance details

Defined in Ipe.IpeRender

Eq Background Source # 
Instance details

Defined in Ipe.IpeRender

Ord Background Source # 
Instance details

Defined in Ipe.IpeRender

data Crop Source #

Whether or not to crop the output image.

Constructors

NoCrop 
Crop 

Instances

Instances details
Enum Crop Source # 
Instance details

Defined in Ipe.IpeRender

Read Crop Source # 
Instance details

Defined in Ipe.IpeRender

Show Crop Source # 
Instance details

Defined in Ipe.IpeRender

Eq Crop Source # 
Instance details

Defined in Ipe.IpeRender

Methods

(==) :: Crop -> Crop -> Bool Source #

(/=) :: Crop -> Crop -> Bool Source #

Ord Crop Source # 
Instance details

Defined in Ipe.IpeRender