MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setBackgroundScaled

Method setBackgroundScaled

qcustomplot/qcustomplot.cpp:13480–13483  ·  view source on GitHub ↗

! Sets whether the viewport background pixmap shall be scaled to fit the viewport. If \a scaled is set to true, control whether and how the aspect ratio of the original pixmap is preserved with \ref setBackgroundScaledMode. Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the viewport dimensions are changed co

Source from the content-addressed store, hash-verified

13478 \see setBackground, setBackgroundScaledMode
13479*/
13480void QCustomPlot::setBackgroundScaled(bool scaled)
13481{
13482 mBackgroundScaled = scaled;
13483}
13484
13485/*!
13486 If scaling of the viewport background pixmap is enabled (\ref setBackgroundScaled), use this

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected