MCPcopy Create free account
hub / github.com/TurningWheel/Barony / draw

Method draw

src/ui/Text.cpp:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void Text::draw(const SDL_Rect src, const SDL_Rect dest, const SDL_Rect viewport) const {
290 drawColor(src, dest, viewport, 0xffffffff);
291}
292
293void Text::drawColor(const SDL_Rect _src, const SDL_Rect _dest, const SDL_Rect viewport, const Uint32& color) const {
294 if (!surf || !texid) {

Callers 2

doLoadingScreenFunction · 0.45
drawPostMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected