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

表示QPainter和QPaintDevice之间的绘制操作属性 更多...

#include <qwt_painter_command.h>

struct  ImageData
 Attributes how to paint a QImage 更多...
 
struct  PixmapData
 Attributes how to paint a QPixmap 更多...
 
struct  StateData
 Attributes of a state change 更多...
 

Public 类型

enum  Type {
  Invalid = -1 , Path , Pixmap , Image ,
  State
}
 Type of the paint command 更多...
 

Public 成员函数

 QwtPainterCommand ()
 构造无效命令
 
 QwtPainterCommand (const QwtPainterCommand &)
 拷贝构造函数
 
 QwtPainterCommand (const QPainterPath &)
 构造路径命令
 
 QwtPainterCommand (const QRectF &rect, const QPixmap &, const QRectF &subRect)
 Pixmap绘制操作的构造函数
 
 QwtPainterCommand (const QRectF &rect, const QImage &, const QRectF &subRect, Qt::ImageConversionFlags)
 Image绘制操作的构造函数
 
 QwtPainterCommand (const QPaintEngineState &)
 State绘制操作的构造函数
 
 ~QwtPainterCommand ()
 析构函数
 
QwtPainterCommandoperator= (const QwtPainterCommand &)
 赋值操作符
 
Type type () const
 
QPainterPath * path ()
 
const QPainterPath * path () const
 
PixmapDatapixmapData ()
 
const PixmapDatapixmapData () const
 
ImageDataimageData ()
 
const ImageDataimageData () const
 
StateDatastateData ()
 
const StateDatastateData () const
 

详细描述

表示QPainter和QPaintDevice之间的绘制操作属性

成员枚举类型说明

◆ Type

Type of the paint command

枚举值
Invalid 

Invalid command

Path 

Draw a QPainterPath

Pixmap 

Draw a QPixmap

Image 

Draw a QImage

State 

QPainter state change

构造及析构函数说明

◆ QwtPainterCommand() [1/6]

QwtPainterCommand::QwtPainterCommand ( )

构造无效命令

◆ QwtPainterCommand() [2/6]

QwtPainterCommand::QwtPainterCommand ( const QwtPainterCommand other)

拷贝构造函数

◆ QwtPainterCommand() [3/6]

QwtPainterCommand::QwtPainterCommand ( const QPainterPath &  path)
explicit

构造路径命令

◆ QwtPainterCommand() [4/6]

QwtPainterCommand::QwtPainterCommand ( const QRectF &  rect,
const QPixmap &  pixmap,
const QRectF &  subRect 
)

Pixmap绘制操作的构造函数

◆ QwtPainterCommand() [5/6]

QwtPainterCommand::QwtPainterCommand ( const QRectF &  rect,
const QImage &  image,
const QRectF &  subRect,
Qt::ImageConversionFlags  flags 
)

Image绘制操作的构造函数

◆ QwtPainterCommand() [6/6]

QwtPainterCommand::QwtPainterCommand ( const QPaintEngineState &  state)
explicit

State绘制操作的构造函数

◆ ~QwtPainterCommand()

QwtPainterCommand::~QwtPainterCommand ( )

析构函数

成员函数说明

◆ imageData() [1/2]

QwtPainterCommand::ImageData * QwtPainterCommand::imageData ( )
返回
Attributes how to paint a QImage

◆ imageData() [2/2]

const QwtPainterCommand::ImageData * QwtPainterCommand::imageData ( ) const
inline
返回
Attributes how to paint a QImage

◆ operator=()

QwtPainterCommand & QwtPainterCommand::operator= ( const QwtPainterCommand other)

赋值操作符

◆ path() [1/2]

QPainterPath * QwtPainterCommand::path ( )
返回
Painter path to be painted

◆ path() [2/2]

const QPainterPath * QwtPainterCommand::path ( ) const
inline
返回
Painter path to be painted

◆ pixmapData() [1/2]

QwtPainterCommand::PixmapData * QwtPainterCommand::pixmapData ( )
返回
Attributes how to paint a QPixmap

◆ pixmapData() [2/2]

const QwtPainterCommand::PixmapData * QwtPainterCommand::pixmapData ( ) const
inline
返回
Attributes how to paint a QPixmap

◆ stateData() [1/2]

QwtPainterCommand::StateData * QwtPainterCommand::stateData ( )
返回
Attributes of a state change

◆ stateData() [2/2]

const QwtPainterCommand::StateData * QwtPainterCommand::stateData ( ) const
inline
返回
Attributes of a state change

◆ type()

QwtPainterCommand::Type QwtPainterCommand::type ( ) const
inline
返回
Type of the command

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