KChart

KChart::CoordinateTransformation Struct Reference

#include <CartesianCoordinateTransformation.h>

Public Member Functions

qreal logTransform (qreal value, bool isPositiveRange) const
 
qreal logTransformBack (qreal value, bool wasPositive) const
 
QPointF translate (const QPointF &dataPoint) const
 
const QPointF translateBack (const QPointF &screenPoint) const
 
void updateTransform (const QRectF &constDataRect, const QRectF &screenRect)
 

Public Attributes

CartesianCoordinatePlane::AxesCalcMode axesCalcModeX
 
CartesianCoordinatePlane::AxesCalcMode axesCalcModeY
 
QTransform backTransform
 
bool isPositiveX
 
bool isPositiveY
 
QTransform transform
 
ZoomParameters zoom
 

Detailed Description

Definition at line 29 of file CartesianCoordinateTransformation.h.

Constructor & Destructor Documentation

◆ CoordinateTransformation()

KChart::CoordinateTransformation::CoordinateTransformation ( )
inline

Definition at line 31 of file CartesianCoordinateTransformation.h.

Member Function Documentation

◆ logTransform()

qreal KChart::CoordinateTransformation::logTransform ( qreal value,
bool isPositiveRange ) const
inline

Definition at line 49 of file CartesianCoordinateTransformation.h.

◆ logTransformBack()

qreal KChart::CoordinateTransformation::logTransformBack ( qreal value,
bool wasPositive ) const
inline

Definition at line 58 of file CartesianCoordinateTransformation.h.

◆ translate()

QPointF KChart::CoordinateTransformation::translate ( const QPointF & dataPoint) const
inline

Definition at line 102 of file CartesianCoordinateTransformation.h.

◆ translateBack()

const QPointF KChart::CoordinateTransformation::translateBack ( const QPointF & screenPoint) const
inline

Definition at line 116 of file CartesianCoordinateTransformation.h.

◆ updateTransform()

void KChart::CoordinateTransformation::updateTransform ( const QRectF & constDataRect,
const QRectF & screenRect )
inline

Definition at line 67 of file CartesianCoordinateTransformation.h.

Member Data Documentation

◆ axesCalcModeX

CartesianCoordinatePlane::AxesCalcMode KChart::CoordinateTransformation::axesCalcModeX

Definition at line 39 of file CartesianCoordinateTransformation.h.

◆ axesCalcModeY

CartesianCoordinatePlane::AxesCalcMode KChart::CoordinateTransformation::axesCalcModeY

Definition at line 38 of file CartesianCoordinateTransformation.h.

◆ backTransform

QTransform KChart::CoordinateTransformation::backTransform

Definition at line 44 of file CartesianCoordinateTransformation.h.

◆ isPositiveX

bool KChart::CoordinateTransformation::isPositiveX

Definition at line 46 of file CartesianCoordinateTransformation.h.

◆ isPositiveY

bool KChart::CoordinateTransformation::isPositiveY

Definition at line 47 of file CartesianCoordinateTransformation.h.

◆ transform

QTransform KChart::CoordinateTransformation::transform

Definition at line 43 of file CartesianCoordinateTransformation.h.

◆ zoom

ZoomParameters KChart::CoordinateTransformation::zoom

Definition at line 41 of file CartesianCoordinateTransformation.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.