|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
存储所有四个坐标轴缩放状态的结构体 更多...
#include <qwt_plot_canvas_zoomer.h>
Public 成员函数 | |
| QwtPlotCanvasZoomState () | |
| 默认构造函数,创建一个无效的缩放状态 | |
| QwtPlotCanvasZoomState (QwtPlot *p, const QwtInterval &yLeft, const QwtInterval &yRight, const QwtInterval &xBottom, const QwtInterval &xTop) | |
| 使用指定的坐标轴区间创建缩放状态 | |
| void | apply () const |
| 将此缩放状态应用到关联的绘图 | |
| bool | operator== (const QwtPlotCanvasZoomState &other) const |
| 比较两个缩放状态是否相等 | |
| bool | operator!= (const QwtPlotCanvasZoomState &other) const |
| 比较两个缩放状态是否不相等 | |
| bool | isValid () const |
| 检查此缩放状态是否有效 | |
静态 Public 成员函数 | |
| static QwtPlotCanvasZoomState | fromPlot (QwtPlot *plot) |
| 从绘图的当前坐标轴范围创建缩放状态 | |
Public 属性 | |
| QPointer< QwtPlot > | plot |
| QwtInterval | axisInterval [QwtAxis::AxisPositions] |
存储所有四个坐标轴缩放状态的结构体
| QwtPlotCanvasZoomState::QwtPlotCanvasZoomState | ( | ) |
默认构造函数,创建一个无效的缩放状态
| QwtPlotCanvasZoomState::QwtPlotCanvasZoomState | ( | QwtPlot * | p, |
| const QwtInterval & | yLeft, | ||
| const QwtInterval & | yRight, | ||
| const QwtInterval & | xBottom, | ||
| const QwtInterval & | xTop | ||
| ) |
使用指定的坐标轴区间创建缩放状态
| void QwtPlotCanvasZoomState::apply | ( | ) | const |
将此缩放状态应用到关联的绘图
|
static |
从绘图的当前坐标轴范围创建缩放状态
| bool QwtPlotCanvasZoomState::isValid | ( | ) | const |
检查此缩放状态是否有效
| bool QwtPlotCanvasZoomState::operator!= | ( | const QwtPlotCanvasZoomState & | other | ) | const |
比较两个缩放状态是否不相等
| bool QwtPlotCanvasZoomState::operator== | ( | const QwtPlotCanvasZoomState & | other | ) | const |
比较两个缩放状态是否相等