KD Chart 2  [rev.2.7]
Public Member Functions | Public Attributes | List of all members
KDChart::ZoomParameters Class Reference

ZoomParameters stores the center and the factor of zooming internally. More...

#include <KDChartZoomParameters.h>

Collaboration diagram for KDChart::ZoomParameters:
Collaboration graph
[legend]

Public Member Functions

const QPointF center () const
 
void setCenter (const QPointF &center)
 
 ZoomParameters ()
 
 ZoomParameters (qreal xFactor, qreal yFactor, const QPointF &center)
 

Public Attributes

qreal xCenter
 
qreal xFactor
 
qreal yCenter
 
qreal yFactor
 

Detailed Description

ZoomParameters stores the center and the factor of zooming internally.

Definition at line 44 of file KDChartZoomParameters.h.

Constructor & Destructor Documentation

KDChart::ZoomParameters::ZoomParameters ( )

Definition at line 46 of file KDChartZoomParameters.h.

KDChart::ZoomParameters::ZoomParameters ( qreal  xFactor,
qreal  yFactor,
const QPointF &  center 
)

Definition at line 54 of file KDChartZoomParameters.h.

Member Function Documentation

const QPointF KDChart::ZoomParameters::center ( ) const

Definition at line 67 of file KDChartZoomParameters.h.

References xCenter, and yCenter.

Referenced by KDChart::AbstractCoordinatePlane::mousePressEvent().

void KDChart::ZoomParameters::setCenter ( const QPointF &  center)

Definition at line 62 of file KDChartZoomParameters.h.

References xCenter, and yCenter.

Member Data Documentation

qreal KDChart::ZoomParameters::xCenter

Definition at line 75 of file KDChartZoomParameters.h.

Referenced by center(), and setCenter().

qreal KDChart::ZoomParameters::xFactor
qreal KDChart::ZoomParameters::yCenter

Definition at line 76 of file KDChartZoomParameters.h.

Referenced by center(), and setCenter().

qreal KDChart::ZoomParameters::yFactor

The documentation for this class was generated from the following file:

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
https://www.kdab.com/
https://www.kdab.com/products/kd-chart/