MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / hasInvalidatedPaintBuffers

Method hasInvalidatedPaintBuffers

3rdparty/qcustomplot/qcustomplot.cpp:15912–15920  ·  view source on GitHub ↗

! This method returns whether any of the paint buffers held by this QCustomPlot instance are invalidated. If any buffer is invalidated, a partial replot (\ref QCPLayer::replot) is not allowed and always causes a full replot (\ref QCustomPlot::replot) of all layers. This is the case when for example the layer order has changed, new layers were added or removed, layer modes were changed (

Source from the content-addressed store, hash-verified

15910 \see QCPAbstractPaintBuffer::setInvalidated
15911*/
15912bool QCustomPlot::hasInvalidatedPaintBuffers()
15913{
15914 foreach (QSharedPointer<QCPAbstractPaintBuffer> buffer, mPaintBuffers)
15915 {
15916 if (buffer->invalidated())
15917 return true;
15918 }
15919 return false;
15920}
15921
15922/*! \internal
15923

Callers 1

replotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected