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]

List of all members.

Public Member Functions

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

Public Attributes

double xCenter
double xFactor
double yCenter
double yFactor

Detailed Description

ZoomParameters stores the center and the factor of zooming internally.

Definition at line 42 of file KDChartZoomParameters.h.


Constructor & Destructor Documentation

KDChart::ZoomParameters::ZoomParameters (  ) 

Definition at line 44 of file KDChartZoomParameters.h.

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

Definition at line 52 of file KDChartZoomParameters.h.


Member Function Documentation

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

Definition at line 65 of file KDChartZoomParameters.h.

References xCenter, and yCenter.

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

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

Definition at line 60 of file KDChartZoomParameters.h.

References xCenter, and yCenter.


Member Data Documentation

Definition at line 73 of file KDChartZoomParameters.h.

Referenced by center(), and setCenter().

Definition at line 74 of file KDChartZoomParameters.h.

Referenced by center(), and setCenter().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

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