MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / ScreenGraphics

Method ScreenGraphics

src/ui/graphics.cpp:397–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395// ScreenGraphics
396
397ScreenGraphics::ScreenGraphics()
398 : Graphics(she::instance()->defaultDisplay()->getSurface(), 0, 0)
399{
400 setFont(CurrentTheme::get()->getDefaultFont());
401}
402
403ScreenGraphics::~ScreenGraphics()
404{

Callers

nothing calls this directly

Calls 5

instanceFunction · 0.85
defaultDisplayMethod · 0.80
getDefaultFontMethod · 0.80
getFunction · 0.50
getSurfaceMethod · 0.45

Tested by

no test coverage detected