MCPcopy Create free account
hub / github.com/LUX-Core/lux / setMode

Method setMode

src/qt/qcustomplot.cpp:425–431  ·  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

423 fixes/workarounds optimized for certain output devices.
424*/
425void QCPPainter::setMode(QCPPainter::PainterMode mode, bool enabled)
426{
427 if (!enabled && mModes.testFlag(mode))
428 mModes &= ~mode;
429 else if (enabled && !mModes.testFlag(mode))
430 mModes |= mode;
431}
432
433/*!
434 Saves the painter (see QPainter::save). Since QCPPainter adds some new internal state to

Callers 4

QCustomPlotMethod · 0.80
savePdfMethod · 0.80
toPixmapMethod · 0.80
toPainterMethod · 0.80

Calls 3

setInvalidatedMethod · 0.80
isNullMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected