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

Method setScaled

qcustomplot/qcustomplot.cpp:29403–29409  ·  view source on GitHub ↗

! Sets whether the pixmap will be scaled to fit the rectangle defined by the \a topLeft and \a bottomRight positions. */

Source from the content-addressed store, hash-verified

29401 bottomRight positions.
29402*/
29403void QCPItemPixmap::setScaled(bool scaled, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformationMode)
29404{
29405 mScaled = scaled;
29406 mAspectRatioMode = aspectRatioMode;
29407 mTransformationMode = transformationMode;
29408 mScaledPixmapInvalidated = true;
29409}
29410
29411/*!
29412 Sets the pen that will be used to draw a border around the pixmap.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected