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

Method paint

app/src/UI/Widgets/Painter.cpp:208–214  ·  view source on GitHub ↗

* @brief Blits the cached QImage produced by the last script execution. */

Source from the content-addressed store, hash-verified

206 * @brief Blits the cached QImage produced by the last script execution.
207 */
208void Widgets::Painter::paint(QPainter* painter)
209{
210 if (m_cache.isNull())
211 return;
212
213 painter->drawImage(QRectF(0.0, 0.0, width(), height()), m_cache);
214}
215
216//--------------------------------------------------------------------------------------------------
217// Public surface

Callers

nothing calls this directly

Calls 1

drawImageMethod · 0.80

Tested by

no test coverage detected