MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / drawText

Method drawText

src/Font.cpp:257–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256
257void Font::drawText(std::string text, const Eigen::Vector2f& offset, unsigned int color)
258{
259 TextCache* cache = buildTextCache(text, offset[0], offset[1], color);
260 renderTextCache(cache);
261 delete cache;
262}
263
264void Font::renderTextCache(TextCache* cache)
265{

Callers 4

renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected