* @brief Rotates the painter by the given angle in radians. */
| 818 | * @brief Rotates the painter by the given angle in radians. |
| 819 | */ |
| 820 | void Widgets::PainterContext::rotate(qreal radians) |
| 821 | { |
| 822 | if (!active()) |
| 823 | return; |
| 824 | |
| 825 | m_painter->rotate(qRadiansToDegrees(radians)); |
| 826 | } |
| 827 | |
| 828 | /** |
| 829 | * @brief Scales the painter by (sx, sy). |
no outgoing calls
no test coverage detected