Provides EPS, PS, PDF, SVG, PGF and TeX output
更多...
#include <qwt3d_io_gl2ps.h>
|
| enum | TEXTMODE { PIXEL
, NATIVE
, TEX
} |
| |
| enum | LANDSCAPEMODE { ON
, OFF
, AUTO
} |
| |
| enum | SORTMODE { NOSORT
, SIMPLESORT
, BSPSORT
} |
| |
|
| | VectorWriter () |
| | Provides a new VectorWriter object
|
| |
| void | setLandscape (LANDSCAPEMODE val) |
| | Sets landscape mode
|
| |
|
LANDSCAPEMODE | landscape () const |
| | Returns the current landscape mode
|
| |
| void | setTextMode (TEXTMODE val, QString fname="") |
| | Sets the mode for text output
|
| |
|
TEXTMODE | textMode () const |
| | Returns the current text output mode
|
| |
| void | setSortMode (SORTMODE val) |
| | Sets the sorting mode
|
| |
|
SORTMODE | sortMode () const |
| | Returns the current sorting mode
|
| |
|
void | setCompressed (bool val) |
| | Turns compressed output on or off (no effect - zlib support not available)
|
| |
|
bool | compressed () const |
| | Returns compression mode
|
| |
| bool | setFormat (QString const &format) |
| | Sets output format
|
| |
Provides EPS, PS, PDF, SVG, PGF and TeX output
VectorWriter provides vector graphics output through the gl2ps library, supporting EPS, PS, PDF, SVG, PGF and TeX formats.
◆ VectorWriter()
| VectorWriter::VectorWriter |
( |
| ) |
|
◆ setFormat()
| bool VectorWriter::setFormat |
( |
QString const & |
format | ) |
|
Sets output format
- 参数
-
| format | Must be one of "EPS_GZ", "PS_GZ", "EPS", "PS", "PDF", "SVG" or "PGF" (case sensitive) |
- 返回
- True on success, false for unknown format
◆ setLandscape()
| void VectorWriter::setLandscape |
( |
LANDSCAPEMODE |
val | ) |
|
Sets landscape mode
- 参数
-
| val | Landscape mode (ON, OFF, or AUTO) |
◆ setSortMode()
| void VectorWriter::setSortMode |
( |
SORTMODE |
val | ) |
|
Sets the sorting mode
- 参数
-
| val | Sort mode (NOSORT, SIMPLESORT, or BSPSORT) |
◆ setTextMode()
| void VectorWriter::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(). |
- 注解
- On Linux platforms, pdflatex seems a file named 'dump_0.pdf.tex' mistakenly to identify as PDF file.
该类的文档由以下文件生成:
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_io_gl2ps.h
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_io_gl2ps.cpp