| arearenderer.cpp |
|
33238 |
- |
| arearenderer_p.h |
|
4479 |
- |
| axisrenderer.cpp |
|
86242 |
- |
| axisrenderer_p.h |
|
6538 |
- |
| barsrenderer.cpp |
|
32633 |
- |
| barsrenderer_p.h |
|
3956 |
- |
| customrenderer.cpp |
|
9420 |
- |
| customrenderer_p.h |
|
2714 |
- |
| pierenderer.cpp |
|
27705 |
- |
| pierenderer_p.h |
|
4258 |
- |
| pointrenderer.cpp |
|
50090 |
- |
| pointrenderer_p.h |
|
5916 |
- |
| polaraxisrenderer.cpp |
|
13366 |
- |
| polaraxisrenderer_p.h |
|
1513 |
- |
| qcpainteritem.cpp |
|
4938 |
- |
| qcpainteritem_p.h |
|
3731 |
- |
| qcustomseriescanvasrenderer.cpp |
!
\class QCustomSeriesCanvasRenderer
\inmodule QtGraphs
\brief The QCustomSeriesCanvasRenderer class allows implementing
customized rendering for a QCustomSeries when the high-performance
canvas painter backend is in use.
\since 6.12
Implement canvasPaint() to draw a \l QCustomSeries. Set the renderer
on the series with \l QCustomSeries::setCustomSeriesPainter().
canvasPaint() and canvasPrePaint() are called from the \l {Scene Graph
and Rendering}{Qt Quick scene graph render thread} and, unlike
initializeResources() and synchronizeData(), do not receive the
\l QCustomSeries they belong to. Copy whatever canvasPaint() needs into
the renderer instance in synchronizeData(), which runs while the GUI
thread is blocked and is the only place it is safe to read GUI-thread
data.
\section1 How to implement a simple QCustomSeries and a QCustomSeriesCanvasRenderer
First, create a QCustomSeries subclass.
\snippet doc_src_qcustomseriescanvasrenderer.cpp customseries
Then implement a QCustomSeriesCanvasRenderer subclass
\snippet doc_src_qcustomseriescanvasrenderer.cpp customseries_renderer
\sa QCustomSeries, QCustomSeries::setCustomSeriesPainter()
|
3252 |
- |
| qcustomseriescanvasrenderer.h |
|
933 |
- |