QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
| Public 类型 | Public 成员函数 | 友元 | 所有成员列表
Qwt3D::VectorWriter类 参考

Provides EPS, PS, PDF, SVG, PGF and TeX output 更多...

#include <qwt3d_io_gl2ps.h>

类 Qwt3D::VectorWriter 继承关系图:
Qwt3D::IO::Functor

class  PrivateData
 

Public 类型

enum  TEXTMODE { PIXEL , NATIVE , TEX }
 
enum  LANDSCAPEMODE { ON , OFF , AUTO }
 
enum  SORTMODE { NOSORT , SIMPLESORT , BSPSORT }
 

Public 成员函数

 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
 

友元

class IO
 

详细描述

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 ( )

Provides a new VectorWriter object

返回
A cloned copy of this VectorWriter as Functor pointer

成员函数说明

◆ setFormat()

bool VectorWriter::setFormat ( QString const &  format)

Sets output format

参数
formatMust 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

参数
valLandscape mode (ON, OFF, or AUTO)

◆ setSortMode()

void VectorWriter::setSortMode ( SORTMODE  val)

Sets the sorting mode

参数
valSort mode (NOSORT, SIMPLESORT, or BSPSORT)

◆ setTextMode()

void VectorWriter::setTextMode ( TEXTMODE  val,
QString  fname = "" 
)

Sets the mode for text output

参数
valThe 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.
fnameOptional, 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.

该类的文档由以下文件生成: