KChart
KChartTextLabelCache.cpp
225 for ( KChartEnums::PositionValue position : std::as_const(positions) ) { //krazy:exclude=foreach
Project global class providing some enums needed both by KChartParams and by KChartCustomBox.
Definition KChartEnums.h:27
PositionValue
Numerical values of the static KChart::Position instances, for using a Position::value() with a switc...
Definition KChartEnums.h:180
base class for prerendered elements like labels, pixmaps, markers, etc.
Definition KChartTextLabelCache.h:22
void setPosition(const QPointF &position)
Set the position of the element.
Definition KChartTextLabelCache.cpp:42
void setReferencePoint(KChartEnums::PositionValue)
Set the reference point of the element.
Definition KChartTextLabelCache.cpp:52
KChartEnums::PositionValue referencePoint() const
Get the reference point of the element.
Definition KChartTextLabelCache.cpp:57
const QPointF & position() const
Get the position of the element.
Definition KChartTextLabelCache.cpp:47
void setAngle(qreal angle)
Sets the angle of the label to angle degrees.
Definition KChartTextLabelCache.cpp:115
void invalidate() const override
Invalidates the preredendered data, forces re-rendering.
Definition KChartTextLabelCache.cpp:77
void setBrush(const QBrush &brush)
Sets the label's brush to brush.
Definition KChartTextLabelCache.cpp:104
const QPixmap & pixmap() const override
Returns the rendered element.
Definition KChartTextLabelCache.cpp:126
QPointF referencePointLocation(KChartEnums::PositionValue position) const override
Return the location of the reference point relatively to the pixmap's origin.
Definition KChartTextLabelCache.cpp:244
void setText(const QString &text)
Sets the label's text to text.
Definition KChartTextLabelCache.cpp:93
Format_ARGB32_Premultiplied
CompositionMode
TextAntialiasing
qreal x() const const
QPointF bottomLeft() const const
QPointF bottomRight() const const
qreal height() const const
QPointF topLeft() const const
QPointF topRight() const const
qreal width() const const
AlignHCenter
red
QLine map(const QLine &l) const const
QRect mapRect(const QRect &rectangle) const const
QTransform & rotate(qreal a, Qt::Axis axis)
QTransform & translate(qreal dx, qreal dy)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.