MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / ~Graphics

Method ~Graphics

src/ui/graphics.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35Graphics::~Graphics()
36{
37 // If we were drawing in the screen surface, we mark these regions
38 // as dirty for the final flip.
39 if (m_surface == she::instance()->defaultDisplay()->getSurface())
40 Manager::getDefault()->dirtyRect(m_dirtyBounds);
41}
42
43int Graphics::width() const
44{

Callers

nothing calls this directly

Calls 4

instanceFunction · 0.85
defaultDisplayMethod · 0.80
dirtyRectMethod · 0.80
getSurfaceMethod · 0.45

Tested by

no test coverage detected