MCPcopy Create free account
hub / github.com/KDAB/GammaRay / setState

Method setState

core/paintbuffer.cpp:261–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void PaintBufferEngine::setState(QPainterState *s)
262{
263 const auto prevSize = m_buffer->data()->commands.size();
264 QPaintBufferEngine::setState(s);
265 const auto newSize = m_buffer->data()->commands.size();
266 if (prevSize != newSize) {
267 createStackTrace();
268 pushOrigin();
269 }
270}
271
272void PaintBufferEngine::createStackTrace()
273{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected