* @brief Scales the painter by (sx, sy). */
| 829 | * @brief Scales the painter by (sx, sy). |
| 830 | */ |
| 831 | void 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. |