MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / scale

Method scale

app/src/UI/Widgets/PainterContext.cpp:831–837  ·  view source on GitHub ↗

* @brief Scales the painter by (sx, sy). */

Source from the content-addressed store, hash-verified

829 * @brief Scales the painter by (sx, sy).
830 */
831void Widgets::PainterContext::scale(qreal sx, qreal sy)
832{
833 if (!active())
834 return;
835
836 m_painter->scale(sx, sy);
837}
838
839/**
840 * @brief Multiplies the current transform by a Canvas2D 2x3 affine matrix.

Callers 2

drawDataMethod · 0.80
drawGridMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected