Stores the absolute target points of a Position. More...
#include <KDChartPosition.h>
Public Member Functions | |
const qreal | degrees (KDChartEnums::PositionValue pos) const |
bool | isNull () const |
const QPointF | point (Position position) const |
PositionPoints (QPointF northWest, QPointF northEast, QPointF southEast, QPointF southWest) | |
PositionPoints (const QRectF &rect) | |
PositionPoints (const QPointF &onePointForAllPositions) | |
PositionPoints (QPointF center, QPointF northWest, QPointF north, QPointF northEast, QPointF east, QPointF southEast, QPointF south, QPointF southWest, QPointF west) | |
PositionPoints () | |
void | setDegrees (KDChartEnums::PositionValue pos, qreal degrees) |
Public Attributes | |
QMap < KDChartEnums::PositionValue, qreal > | mapOfDegrees |
QPointF | mPositionCenter |
QPointF | mPositionEast |
QPointF | mPositionNorth |
QPointF | mPositionNorthEast |
QPointF | mPositionNorthWest |
QPointF | mPositionSouth |
QPointF | mPositionSouthEast |
QPointF | mPositionSouthWest |
QPointF | mPositionUnknown |
QPointF | mPositionWest |
Stores the absolute target points of a Position.
Definition at line 137 of file KDChartPosition.h.
KDChart::PositionPoints::PositionPoints | ( | ) |
Definition at line 140 of file KDChartPosition.h.
KDChart::PositionPoints::PositionPoints | ( | QPointF | center, | |
QPointF | northWest, | |||
QPointF | north, | |||
QPointF | northEast, | |||
QPointF | east, | |||
QPointF | southEast, | |||
QPointF | south, | |||
QPointF | southWest, | |||
QPointF | west | |||
) |
Definition at line 142 of file KDChartPosition.h.
KDChart::PositionPoints::PositionPoints | ( | const QPointF & | onePointForAllPositions | ) |
Definition at line 162 of file KDChartPosition.h.
KDChart::PositionPoints::PositionPoints | ( | const QRectF & | rect | ) |
Definition at line 174 of file KDChartPosition.h.
KDChart::PositionPoints::PositionPoints | ( | QPointF | northWest, | |
QPointF | northEast, | |||
QPointF | southEast, | |||
QPointF | southWest | |||
) |
Definition at line 188 of file KDChartPosition.h.
const qreal KDChart::PositionPoints::degrees | ( | KDChartEnums::PositionValue | pos | ) | const |
Definition at line 210 of file KDChartPosition.h.
bool KDChart::PositionPoints::isNull | ( | ) | const |
Definition at line 248 of file KDChartPosition.h.
Referenced by KDChart::RelativePosition::setReferencePoints().
const QPointF KDChart::PositionPoints::point | ( | Position | position | ) | const |
Definition at line 221 of file KDChartPosition.h.
References KDChart::Position::Center, KDChart::Position::East, KDChart::Position::North, KDChart::Position::NorthEast, KDChart::Position::NorthWest, KDChart::Position::South, KDChart::Position::SouthEast, KDChart::Position::SouthWest, and KDChart::Position::West.
void KDChart::PositionPoints::setDegrees | ( | KDChartEnums::PositionValue | pos, | |
qreal | degrees | |||
) |
Definition at line 204 of file KDChartPosition.h.
Definition at line 273 of file KDChartPosition.h.
Definition at line 264 of file KDChartPosition.h.
Definition at line 268 of file KDChartPosition.h.
Definition at line 266 of file KDChartPosition.h.
Definition at line 267 of file KDChartPosition.h.
Definition at line 265 of file KDChartPosition.h.
Definition at line 270 of file KDChartPosition.h.
Definition at line 269 of file KDChartPosition.h.
Definition at line 271 of file KDChartPosition.h.
Definition at line 263 of file KDChartPosition.h.
Definition at line 272 of file KDChartPosition.h.