#include <qwt3d_io_gl2ps.h>
Inheritance diagram for VectorWriter:
Public Types | |
enum | TEXTMODE { PIXEL, NATIVE, TEX } |
enum | LANDSCAPEMODE { ON, OFF, AUTO } |
enum | SORTMODE { NOSORT, SIMPLESORT, BSPSORT } |
Public Member Functions | |
void | setLandscape (LANDSCAPEMODE val) |
LANDSCAPEMODE | landscape () const |
void | setTextMode (TEXTMODE val, QString fname="") |
TEXTMODE | textMode () const |
void | setSortMode (SORTMODE val) |
SORTMODE | sortMode () const |
void | setCompressed (bool val) |
bool | compressed () const |
bool | setFormat (QString const &format) |
enum TEXTMODE |
enum LANDSCAPEMODE |
enum SORTMODE |
void setLandscape | ( | LANDSCAPEMODE | val | ) | [inline] |
Sets landscape mode.
LANDSCAPEMODE landscape | ( | ) | const [inline] |
Returns the current landscape mode.
void setTextMode | ( | TEXTMODE | val, | |
QString | fname = "" | |||
) |
Sets the mode for text output:
val | The underlying format for the generated output: PIXEL - poor quality but exact positioning NATIVE - high quality but inexact positioning TEX - high quality and exact positioning, arbitrary TeX strings as content for the saved labels are possible. The disadvantage is the need for an additionally TeX run to get the final output. | |
fname | Optional, used only in conjunction with TeX output; file name for the generated TeX file. If not set, a file called "OUTPUT.FOR.tex" will be generated, where "OUTPUT.FOR" describes the file name argument for IO::save(). (04/05/27: On Linux platforms, pdflatex seems a file named 'dump_0.pdf.tex' mistakenly to identify as PDF file.) |
TEXTMODE textMode | ( | ) | const [inline] |
Return current text output mode.
void setSortMode | ( | SORTMODE | val | ) | [inline] |
Sets one of the SORTMODE sorting modes.
SORTMODE sortMode | ( | ) | const [inline] |
Returns gl2ps sorting type.
void setCompressed | ( | bool | val | ) |
Turns compressed output on or off (no effect if zlib support is not available).
bool compressed | ( | ) | const [inline] |
Returns compression mode (always false if zlib support has not been set).
bool setFormat | ( | QString const & | format | ) |
Set output format, must be one of "EPS_GZ", "PS_GZ", "EPS", "PS", "PDF" (case sensitive)