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

用于将极坐标图导出到文档、打印机或其他支持 QPainter/QPaintDevice 的设备的渲染器 更多...

#include <qwt_polar_renderer.h>

类 QwtPolarRenderer 继承关系图:

class  PrivateData
 

Public 成员函数

 QwtPolarRenderer (QObject *parent=nullptr)
 Constructor
 
virtual ~QwtPolarRenderer ()
 Destructor
 
void renderDocument (QwtPolarPlot *, const QString &format, const QSizeF &sizeMM, int resolution=85)
 Render a polar plot to a document
 
void renderDocument (QwtPolarPlot *, const QString &title, const QString &format, const QSizeF &sizeMM, int resolution=85)
 Render a polar plot to a document with title
 
void renderTo (QwtPolarPlot *, QPrinter &) const
 Render a polar plot to a printer
 
void renderTo (QwtPolarPlot *, QPaintDevice &) const
 Render a polar plot to a paint device
 
virtual void render (QwtPolarPlot *, QPainter *, const QRectF &rect) const
 Render a polar plot to a painter
 
bool exportTo (QwtPolarPlot *, const QString &documentName, const QSizeF &sizeMM=QSizeF(200, 200), int resolution=85)
 Export a polar plot to a document
 
virtual void renderTitle (QPainter *, const QRectF &) const
 Render the title
 
virtual void renderLegend (const QwtPolarPlot *, QPainter *, const QRectF &) const
 Render the legend
 

详细描述

用于将极坐标图导出到文档、打印机或其他支持 QPainter/QPaintDevice 的设备的渲染器

构造及析构函数说明

◆ QwtPolarRenderer()

QwtPolarRenderer::QwtPolarRenderer ( QObject *  parent = nullptr)
explicit

Constructor

构造函数

◆ ~QwtPolarRenderer()

QwtPolarRenderer::~QwtPolarRenderer ( )
virtual

Destructor

析构函数

成员函数说明

◆ exportTo()

bool QwtPolarRenderer::exportTo ( QwtPolarPlot plot,
const QString &  documentName,
const QSizeF &  sizeMM = QSizeF( 200, 200 ),
int  resolution = 85 
)

Export a polar plot to a document

执行文件对话框并将绘图渲染到选定文件

◆ render()

void QwtPolarRenderer::render ( QwtPolarPlot plot,
QPainter *  painter,
const QRectF &  plotRect 
) const
virtual

Render a polar plot to a painter

将绘图渲染到指定矩形

◆ renderDocument() [1/2]

void QwtPolarRenderer::renderDocument ( QwtPolarPlot plot,
const QString &  fileName,
const QSizeF &  sizeMM,
int  resolution = 85 
)

Render a polar plot to a document

将极坐标图渲染到文件

◆ renderDocument() [2/2]

void QwtPolarRenderer::renderDocument ( QwtPolarPlot plot,
const QString &  fileName,
const QString &  format,
const QSizeF &  sizeMM,
int  resolution = 85 
)

Render a polar plot to a document with title

将绘图渲染到指定格式的文件

◆ renderLegend()

void QwtPolarRenderer::renderLegend ( const QwtPolarPlot plot,
QPainter *  painter,
const QRectF &  rect 
) const
virtual

Render the legend

将图例渲染到指定矩形

◆ renderTitle()

void QwtPolarRenderer::renderTitle ( QPainter *  painter,
const QRectF &  rect 
) const
virtual

Render the title

将标题渲染到指定矩形

◆ renderTo() [1/2]

void QwtPolarRenderer::renderTo ( QwtPolarPlot plot,
QPaintDevice &  paintDevice 
) const

Render a polar plot to a paint device

将绘图渲染到 QPaintDevice

◆ renderTo() [2/2]

void QwtPolarRenderer::renderTo ( QwtPolarPlot plot,
QPrinter &  printer 
) const

Render a polar plot to a printer

将绘图渲染到打印机


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