* @brief Releases the active QPainter binding. */
| 371 | * @brief Releases the active QPainter binding. |
| 372 | */ |
| 373 | void Widgets::PainterContext::endFrame() |
| 374 | { |
| 375 | m_painter = nullptr; |
| 376 | m_width = 0.0; |
| 377 | m_height = 0.0; |
| 378 | } |
| 379 | |
| 380 | /** |
| 381 | * @brief Updates the project directory used to resolve relative drawImage paths. |