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

Method setBackgroundScaledMode

qcustomplot/qcustomplot.cpp:13491–13494  ·  view source on GitHub ↗

! If scaling of the viewport background pixmap is enabled (\ref setBackgroundScaled), use this function to define whether and how the aspect ratio of the original pixmap is preserved. \see setBackground, setBackgroundScaled */

Source from the content-addressed store, hash-verified

13489 \see setBackground, setBackgroundScaled
13490*/
13491void QCustomPlot::setBackgroundScaledMode(Qt::AspectRatioMode mode)
13492{
13493 mBackgroundScaledMode = mode;
13494}
13495
13496/*!
13497 Returns the plottable with \a index. If the index is invalid, returns 0.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected