KD Chart API Documentation 3.1
|
#include <KDChartZoomParameters.h>
Public Member Functions | |
ZoomParameters () | |
ZoomParameters (qreal xFactor, qreal yFactor, const QPointF ¢er) | |
const QPointF | center () const |
void | setCenter (const QPointF ¢er) |
Public Attributes | |
qreal | xCenter = 0.5 |
qreal | xFactor = 1.0 |
qreal | yCenter = 0.5 |
qreal | yFactor = 1.0 |
ZoomParameters stores the center and the factor of zooming internally
Definition at line 32 of file KDChartZoomParameters.h.
|
inline |
Definition at line 35 of file KDChartZoomParameters.h.
|
inline |
Definition at line 39 of file KDChartZoomParameters.h.
|
inline |
Definition at line 52 of file KDChartZoomParameters.h.
References xCenter, and yCenter.
Referenced by KDChart::AbstractCoordinatePlane::mousePressEvent(), and setCenter().
|
inline |
Definition at line 47 of file KDChartZoomParameters.h.
References center(), QPointF::x(), xCenter, QPointF::y(), and yCenter.
qreal KDChart::ZoomParameters::xCenter = 0.5 |
Definition at line 60 of file KDChartZoomParameters.h.
Referenced by center(), setCenter(), KDChart::PolarCoordinatePlane::setZoomCenter(), and KDChart::CoordinateTransformation::updateTransform().
qreal KDChart::ZoomParameters::xFactor = 1.0 |
Definition at line 57 of file KDChartZoomParameters.h.
Referenced by KDChart::AbstractCoordinatePlane::mousePressEvent(), KDChart::PolarCoordinatePlane::setZoomFactorX(), KDChart::CoordinateTransformation::updateTransform(), and KDChart::PolarCoordinatePlane::zoomFactorX().
qreal KDChart::ZoomParameters::yCenter = 0.5 |
Definition at line 61 of file KDChartZoomParameters.h.
Referenced by center(), setCenter(), and KDChart::CoordinateTransformation::updateTransform().
qreal KDChart::ZoomParameters::yFactor = 1.0 |
Definition at line 58 of file KDChartZoomParameters.h.
Referenced by KDChart::AbstractCoordinatePlane::mousePressEvent(), KDChart::PolarCoordinatePlane::setZoomFactorY(), and KDChart::CoordinateTransformation::updateTransform().