|
| enum | AnchorMode { amRectangular,
amSkewedUpright,
amSkewedRotated
} |
| |
| enum | AnchorReferenceType { artNormal,
artTangent
} |
| |
| enum | AnchorSide {
asLeft,
asRight,
asTop,
asBottom,
asTopLeft,
asTopRight,
asBottomRight,
asBottomLeft
} |
| |
|
|
bool | abbreviateDecimalPowers () const |
| |
|
AnchorMode | anchorMode () const |
| |
|
QPointF | anchorReference () const |
| |
|
AnchorReferenceType | anchorReferenceType () const |
| |
|
AnchorSide | anchorSide () const |
| |
|
int | cacheSize () const |
| |
|
void | clearCache () |
| |
|
QColor | color () const |
| |
|
void | drawTickLabel (QCPPainter *painter, const QPointF &tickPos, const QString &text) |
| |
|
QFont | font () const |
| |
|
QChar | multiplicationSymbol () const |
| |
|
int | padding () const |
| |
| | QCPLabelPainterPrivate (QCustomPlot *parentPlot) |
| |
|
double | rotation () const |
| |
|
void | setAbbreviateDecimalPowers (bool enabled) |
| |
|
void | setAnchorMode (AnchorMode mode) |
| |
|
void | setAnchorReference (const QPointF &pixelPoint) |
| |
|
void | setAnchorReferenceType (AnchorReferenceType type) |
| |
|
void | setAnchorSide (AnchorSide side) |
| |
|
void | setCacheSize (int labelCount) |
| |
|
void | setColor (const QColor &color) |
| |
|
void | setFont (const QFont &font) |
| |
|
void | setMultiplicationSymbol (QChar symbol) |
| |
|
void | setPadding (int padding) |
| |
|
void | setRotation (double rotation) |
| |
|
void | setSubstituteExponent (bool enabled) |
| |
|
bool | substituteExponent () const |
| |
|
|
static const QChar | SymbolCross |
| |
|
static const QChar | SymbolDot |
| |
|
|
void | analyzeFontMetrics () |
| |
|
void | applyAnchorTransform (LabelData &labelData) const |
| |
|
QByteArray | cacheKey (const QString &text, const QColor &color, double rotation, AnchorSide side) const |
| |
|
CachedLabel * | createCachedLabel (const LabelData &labelData) const |
| |
|
virtual void | drawLabelMaybeCached (QCPPainter *painter, const QFont &font, const QColor &color, const QPointF &pos, AnchorSide side, double rotation, const QString &text) |
| |
|
void | drawText (QCPPainter *painter, const QPointF &pos, const LabelData &labelData) const |
| |
|
virtual QByteArray | generateLabelParameterHash () const |
| |
|
QPointF | getAnchorPos (const QPointF &tickPos) |
| |
|
LabelData | getTickLabelData (const QFont &font, const QColor &color, double rotation, AnchorSide side, const QString &text) const |
| |
|
AnchorSide | rotationCorrectedSide (AnchorSide side, double rotation) const |
| |
|
AnchorSide | skewedAnchorSide (const QPointF &tickPos, double sideExpandHorz, double sideExpandVert) const |
| |
◆ AnchorMode
◆ AnchorReferenceType
◆ AnchorSide
◆ QCPLabelPainterPrivate()
| QCPLabelPainterPrivate::QCPLabelPainterPrivate |
( |
QCustomPlot * |
parentPlot | ) |
|
|
explicit |
Constructs a QCPLabelPainterPrivate instance. Make sure to not create a new instance on every redraw, to utilize the caching mechanisms.
the parentPlot does not take ownership of the label painter. Make sure to delete it appropriately.
The documentation for this class was generated from the following files:
- projects/gui/3rdparty/qcustomplot/qcustomplot.h
- projects/gui/3rdparty/qcustomplot/qcustomplot.cpp