Search for usage in LXR

KChart::ZoomParameters Class Reference

#include <KChartZoomParameters.h>

Public Member Functions

 ZoomParameters (qreal xFactor, qreal yFactor, const QPointF &center)
const QPointF center () const
void setCenter (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 28 of file KChartZoomParameters.h.

Constructor & Destructor Documentation

◆ ZoomParameters() [1/2]

KChart::ZoomParameters::ZoomParameters ( )

Definition at line 30 of file KChartZoomParameters.h.

◆ ZoomParameters() [2/2]

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

Definition at line 38 of file KChartZoomParameters.h.

Member Function Documentation

◆ center()

const QPointF KChart::ZoomParameters::center ( ) const

Definition at line 51 of file KChartZoomParameters.h.

◆ setCenter()

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

Definition at line 46 of file KChartZoomParameters.h.

Member Data Documentation

◆ xCenter

qreal KChart::ZoomParameters::xCenter

Definition at line 59 of file KChartZoomParameters.h.

◆ xFactor

qreal KChart::ZoomParameters::xFactor

Definition at line 56 of file KChartZoomParameters.h.

◆ yCenter

qreal KChart::ZoomParameters::yCenter

Definition at line 60 of file KChartZoomParameters.h.

◆ yFactor

qreal KChart::ZoomParameters::yFactor

Definition at line 57 of file KChartZoomParameters.h.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 7 2024 11:55:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.