|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
用于将极坐标图导出到文档、打印机或其他支持 QPainter/QPaintDevice 的设备的渲染器 更多...
#include <qwt_polar_renderer.h>
类 | |
| 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 的设备的渲染器
|
explicit |
Constructor
构造函数
|
virtual |
Destructor
析构函数
| bool QwtPolarRenderer::exportTo | ( | QwtPolarPlot * | plot, |
| const QString & | documentName, | ||
| const QSizeF & | sizeMM = QSizeF( 200, 200 ), |
||
| int | resolution = 85 |
||
| ) |
Export a polar plot to a document
执行文件对话框并将绘图渲染到选定文件
|
virtual |
Render a polar plot to a painter
将绘图渲染到指定矩形
| void QwtPolarRenderer::renderDocument | ( | QwtPolarPlot * | plot, |
| const QString & | fileName, | ||
| const QSizeF & | sizeMM, | ||
| int | resolution = 85 |
||
| ) |
Render a polar plot to a document
将极坐标图渲染到文件
| 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
将绘图渲染到指定格式的文件
|
virtual |
Render the legend
将图例渲染到指定矩形
|
virtual |
Render the title
将标题渲染到指定矩形
| void QwtPolarRenderer::renderTo | ( | QwtPolarPlot * | plot, |
| QPaintDevice & | paintDevice | ||
| ) | const |
Render a polar plot to a paint device
将绘图渲染到 QPaintDevice
| void QwtPolarRenderer::renderTo | ( | QwtPolarPlot * | plot, |
| QPrinter & | printer | ||
| ) | const |
Render a polar plot to a printer
将绘图渲染到打印机