#include <KDChartPaintContext.h>
Definition at line 43 of file KDChartPaintContext.h.
Public Member Functions | |
AbstractCoordinatePlane * | coordinatePlane () const |
PaintContext () | |
QPainter * | painter () const |
const QRectF | rectangle () const |
void | setCoordinatePlane (AbstractCoordinatePlane *plane) |
void | setPainter (QPainter *painter) |
void | setRectangle (const QRectF &rect) |
~PaintContext () |
PaintContext::PaintContext | ( | ) |
PaintContext::~PaintContext | ( | ) |
AbstractCoordinatePlane * PaintContext::coordinatePlane | ( | ) | const |
Definition at line 81 of file KDChartPaintContext.cpp.
References d.
Referenced by KDChart::LeveyJenningsDiagram::drawDataPointSymbol(), KDChart::LeveyJenningsDiagram::drawFluidicsPackChangedSymbol(), StockDiagram::Private::drawLine(), KDChart::LeveyJenningsDiagram::drawLotChangeSymbol(), KDChart::LeveyJenningsDiagram::drawSensorChangedSymbol(), KDChart::TernaryPointDiagram::paint(), KDChart::TernaryLineDiagram::paint(), KDChart::Plotter::paint(), KDChart::LineDiagram::paint(), KDChart::LeveyJenningsDiagram::paint(), KDChart::BarDiagram::paint(), KDChart::LeveyJenningsAxis::paintAsAbscissa(), KDChart::LeveyJenningsAxis::paintAsOrdinate(), KDChart::TernaryAxis::paintCtx(), KDChart::LeveyJenningsAxis::paintCtx(), KDChart::CartesianAxis::paintCtx(), StockDiagram::Private::projectCandlestick(), and StockDiagram::Private::projectPoint().
00082 { 00083 return d->plane; 00084 }
QPainter * PaintContext::painter | ( | ) | const |
Definition at line 71 of file KDChartPaintContext.cpp.
References d.
Referenced by StockDiagram::Private::drawCandlestick(), KDChart::LeveyJenningsDiagram::drawDataPointSymbol(), KDChart::LeveyJenningsDiagram::drawFluidicsPackChangedSymbol(), StockDiagram::Private::drawLine(), KDChart::LeveyJenningsDiagram::drawLotChangeSymbol(), KDChart::LeveyJenningsDiagram::drawSensorChangedSymbol(), KDChart::TernaryPointDiagram::paint(), KDChart::TernaryLineDiagram::paint(), StockDiagram::paint(), KDChart::RingDiagram::paint(), KDChart::PolarDiagram::paint(), KDChart::Plotter::paint(), KDChart::PieDiagram::paint(), KDChart::LineDiagram::paint(), KDChart::LeveyJenningsDiagram::paint(), KDChart::BarDiagram::paint(), KDChart::LeveyJenningsAxis::paintAsAbscissa(), KDChart::LeveyJenningsAxis::paintAsOrdinate(), KDChart::TernaryAxis::paintCtx(), KDChart::AbstractLayoutItem::paintCtx(), KDChart::CartesianAxis::paintCtx(), and KDChart::PieDiagram::paintInternal().
00072 { 00073 return d->painter; 00074 }
const QRectF PaintContext::rectangle | ( | ) | const |
Definition at line 61 of file KDChartPaintContext.cpp.
References d.
Referenced by KDChart::RingDiagram::paint(), KDChart::PolarDiagram::paint(), KDChart::PieDiagram::paint(), KDChart::BarDiagram::paint(), KDChart::TernaryAxis::paintCtx(), and KDChart::PieDiagram::paintInternal().
00062 { 00063 return d->rect; 00064 }
void PaintContext::setCoordinatePlane | ( | AbstractCoordinatePlane * | plane | ) |
Definition at line 86 of file KDChartPaintContext.cpp.
References d.
Referenced by KDChart::TernaryCoordinatePlane::paint(), KDChart::PolarCoordinatePlane::paint(), KDChart::Plotter::paint(), KDChart::LineDiagram::paint(), KDChart::LeveyJenningsDiagram::paint(), KDChart::CartesianCoordinatePlane::paint(), KDChart::CartesianAxis::paint(), and KDChart::BarDiagram::paint().
00087 { 00088 d->plane = plane; 00089 }
void PaintContext::setPainter | ( | QPainter * | painter | ) |
Definition at line 76 of file KDChartPaintContext.cpp.
References d.
Referenced by KDChart::TernaryCoordinatePlane::paint(), KDChart::PolarCoordinatePlane::paint(), KDChart::PieDiagram::paint(), KDChart::CartesianCoordinatePlane::paint(), KDChart::CartesianAxis::paint(), KDChart::RingDiagram::paintEvent(), KDChart::PolarDiagram::paintEvent(), KDChart::Plotter::paintEvent(), KDChart::PieDiagram::paintEvent(), KDChart::LineDiagram::paintEvent(), and KDChart::BarDiagram::paintEvent().
void PaintContext::setRectangle | ( | const QRectF & | rect | ) |
Definition at line 66 of file KDChartPaintContext.cpp.
References d.
Referenced by KDChart::TernaryCoordinatePlane::paint(), KDChart::PolarCoordinatePlane::paint(), KDChart::CartesianCoordinatePlane::paint(), KDChart::CartesianAxis::paint(), KDChart::RingDiagram::paintEvent(), KDChart::PolarDiagram::paintEvent(), KDChart::Plotter::paintEvent(), KDChart::PieDiagram::paintEvent(), KDChart::LineDiagram::paintEvent(), and KDChart::BarDiagram::paintEvent().
00067 { 00068 d->rect = rect; 00069 }