This class is responsible for the creation of a Postscript file from the Ipe data. You have to create an IpePsWriter first, providing a stream that has been opened for (binary) writing and is empty.
| IpePsWriter::IpePsWriter | ( | IpeTellStream & | stream, | |
| const IpeDocument * | doc, | |||
| bool | noColor | |||
| ) |
Create Postscript writer operating on this (open and empty) file.
| IpePsWriter::~IpePsWriter | ( | ) |
Destructor.
| bool IpePsWriter::CreateHeader | ( | IpeString | creator, | |
| int | pno = 0, |
|||
| int | view = 0 | |||
| ) |
Create the document header and prolog (the resources).
Embeds no fonts if pool is 0. Returns false if a TrueType font is present.
| void IpePsWriter::CreatePageView | ( | int | pno = 0, |
|
| int | vno = 0 | |||
| ) |
Create contents and page stream for this page view.
| void IpePsWriter::CreateXml | ( | IpeString | creator, | |
| int | compressLevel | |||
| ) |
Save Ipe information in XML format.
| void IpePsWriter::CreateTrailer | ( | ) |
Create the trailer of the Postscsript file.