KD Chart 2
[rev.2.7]
|
Functions | |
QPainterPath | fitPoints (const QPolygonF &points, qreal tension) |
void | paintAreas (AbstractDiagram::Private *diagramPrivate, PaintContext *ctx, const QModelIndex &index, const QList< QPolygonF > &areas, uint opacity) |
void | paintAreas (AbstractDiagram::Private *diagramPrivate, PaintContext *ctx, const QModelIndex &index, const QList< QPainterPath > &areas, uint opacity) |
void | paintElements (AbstractDiagram::Private *diagramPrivate, PaintContext *ctx, const LabelPaintCache &lpc, const LineAttributesInfoList &lineList) |
void | paintObject (AbstractDiagram::Private *diagramPrivate, PaintContext *ctx, const QBrush &brush, const QPen &pen, const QPolygonF &points) |
void | paintPolyline (PaintContext *ctx, const QBrush &brush, const QPen &pen, const QPolygonF &points) |
void | paintSpline (PaintContext *ctx, const QBrush &brush, const QPen &pen, const QPolygonF &points, qreal tension) |
void | paintThreeDLines (PaintContext *ctx, AbstractDiagram *diagram, const QModelIndex &index, const QPointF &from, const QPointF &to, const ThreeDLineAttributes &tdAttributes, ReverseMapper *reverseMapper) |
void | paintValueTracker (PaintContext *ctx, const ValueTrackerAttributes &vt, const QPointF &at) |
const QPointF | project (const QPointF &point, const ThreeDLineAttributes &tdAttributes) |
static ThreeDLineAttributes | threeDLineAttributes (AbstractDiagram *diagram, const QModelIndex &index) |
static ValueTrackerAttributes | valueTrackerAttributes (AbstractDiagram *diagram, const QModelIndex &index) |
QPainterPath KDChart::PaintingHelpers::fitPoints | ( | const QPolygonF & | points, |
qreal | tension | ||
) |
Definition at line 57 of file PaintingHelpers_p.cpp.
Referenced by paintSpline().
void KDChart::PaintingHelpers::paintAreas | ( | AbstractDiagram::Private * | diagramPrivate, |
PaintContext * | ctx, | ||
const QModelIndex & | index, | ||
const QList< QPolygonF > & | areas, | ||
uint | opacity | ||
) |
Definition at line 332 of file PaintingHelpers_p.cpp.
References KDChart::AbstractDiagram::antiAliasing(), KDChart::AbstractDiagram::brush(), KDChart::AbstractThreeDAttributes::isEnabled(), KDChart::PaintContext::painter(), KDChart::AbstractDiagram::pen(), KDChart::PrintingParameters::scalePen(), KDChart::AbstractThreeDAttributes::threeDBrush(), and threeDLineAttributes().
void KDChart::PaintingHelpers::paintAreas | ( | AbstractDiagram::Private * | diagramPrivate, |
PaintContext * | ctx, | ||
const QModelIndex & | index, | ||
const QList< QPainterPath > & | areas, | ||
uint | opacity | ||
) |
Definition at line 364 of file PaintingHelpers_p.cpp.
References KDChart::AbstractDiagram::antiAliasing(), KDChart::AbstractDiagram::brush(), KDChart::PaintContext::painter(), KDChart::AbstractDiagram::pen(), and KDChart::PrintingParameters::scalePen().
void KDChart::PaintingHelpers::paintElements | ( | AbstractDiagram::Private * | diagramPrivate, |
PaintContext * | ctx, | ||
const LabelPaintCache & | lpc, | ||
const LineAttributesInfoList & | lineList | ||
) |
Definition at line 271 of file PaintingHelpers_p.cpp.
References KDChart::AbstractDiagram::antiAliasing(), KDChart::AbstractDiagram::brush(), KDChart::AbstractThreeDAttributes::isEnabled(), KDChart::ValueTrackerAttributes::isEnabled(), KDChart::PaintContext::painter(), paintObject(), paintThreeDLines(), paintValueTracker(), KDChart::AbstractDiagram::pen(), threeDLineAttributes(), and valueTrackerAttributes().
void KDChart::PaintingHelpers::paintObject | ( | AbstractDiagram::Private * | diagramPrivate, |
PaintContext * | ctx, | ||
const QBrush & | brush, | ||
const QPen & | pen, | ||
const QPolygonF & | points | ||
) |
Definition at line 256 of file PaintingHelpers_p.cpp.
References paintPolyline(), and paintSpline().
Referenced by paintElements().
void KDChart::PaintingHelpers::paintPolyline | ( | PaintContext * | ctx, |
const QBrush & | brush, | ||
const QPen & | pen, | ||
const QPolygonF & | points | ||
) |
Definition at line 91 of file PaintingHelpers_p.cpp.
References KDChart::PaintContext::painter(), and KDChart::PrintingParameters::scalePen().
Referenced by paintObject(), and paintSpline().
void KDChart::PaintingHelpers::paintSpline | ( | PaintContext * | ctx, |
const QBrush & | brush, | ||
const QPen & | pen, | ||
const QPolygonF & | points, | ||
qreal | tension | ||
) |
Definition at line 108 of file PaintingHelpers_p.cpp.
References fitPoints(), KDChart::PaintContext::painter(), paintPolyline(), and KDChart::PrintingParameters::scalePen().
Referenced by paintObject().
void KDChart::PaintingHelpers::paintThreeDLines | ( | PaintContext * | ctx, |
AbstractDiagram * | diagram, | ||
const QModelIndex & | index, | ||
const QPointF & | from, | ||
const QPointF & | to, | ||
const ThreeDLineAttributes & | tdAttributes, | ||
ReverseMapper * | reverseMapper | ||
) |
Definition at line 123 of file PaintingHelpers_p.cpp.
References KDChart::ReverseMapper::addPolygon(), KDChart::AbstractDiagram::antiAliasing(), KDChart::AbstractDiagram::brush(), KDChart::PaintContext::painter(), KDChart::AbstractDiagram::pen(), project(), KDChart::PrintingParameters::scalePen(), and KDChart::AbstractThreeDAttributes::threeDBrush().
Referenced by paintElements().
void KDChart::PaintingHelpers::paintValueTracker | ( | PaintContext * | ctx, |
const ValueTrackerAttributes & | vt, | ||
const QPointF & | at | ||
) |
Definition at line 144 of file PaintingHelpers_p.cpp.
References KDChart::ValueTrackerAttributes::areaBrush(), KDChart::ValueTrackerAttributes::arrowBrush(), KDChart::PaintContext::coordinatePlane(), KDChart::AbstractCoordinatePlane::gridDimensionsList(), KDChart::CartesianCoordinatePlane::isHorizontalRangeReversed(), KDChart::CartesianCoordinatePlane::isVerticalRangeReversed(), KDChart::ValueTrackerAttributes::linePen(), KDChart::ValueTrackerAttributes::markerBrush(), KDChart::ValueTrackerAttributes::markerPen(), KDChart::ValueTrackerAttributes::markerSize(), KDChart::ValueTrackerAttributes::orientations(), KDChart::PaintContext::painter(), KDChart::PrintingParameters::scalePen(), and KDChart::AbstractCoordinatePlane::translate().
Referenced by paintElements().
const QPointF KDChart::PaintingHelpers::project | ( | const QPointF & | point, |
const ThreeDLineAttributes & | tdAttributes | ||
) |
Projects a point in a space defined by its x, y, and z coordinates into a point on a plane, given two rotation angles around the x resp. y axis.
Definition at line 48 of file PaintingHelpers_p.cpp.
References KDChart::AbstractThreeDAttributes::depth(), KDChart::ThreeDLineAttributes::lineXRotation(), and KDChart::ThreeDLineAttributes::lineYRotation().
Referenced by paintThreeDLines().
|
static |
Definition at line 234 of file PaintingHelpers_p.cpp.
Referenced by paintAreas(), and paintElements().
|
static |
Definition at line 245 of file PaintingHelpers_p.cpp.
Referenced by paintElements().