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

Method setMode

3rdparty/qcustomplot/qcustomplot.cpp:436–442  ·  view source on GitHub ↗

! \overload Sets the mode of the painter. This controls whether the painter shall adjust its fixes/workarounds optimized for certain output devices. */

Source from the content-addressed store, hash-verified

434 fixes/workarounds optimized for certain output devices.
435*/
436void QCPPainter::setMode(QCPPainter::PainterMode mode, bool enabled)
437{
438 if (!enabled && mModes.testFlag(mode))
439 mModes &= ~mode;
440 else if (enabled && !mModes.testFlag(mode))
441 mModes |= mode;
442}
443
444/*!
445 Saves the painter (see QPainter::save). Since QCPPainter adds some new internal state to

Callers 4

QCustomPlotMethod · 0.45
savePdfMethod · 0.45
toPixmapMethod · 0.45
toPainterMethod · 0.45

Calls 1

setInvalidatedMethod · 0.80

Tested by

no test coverage detected