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

Method getFont

src/components/TextComponent.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::shared_ptr<Font> TextComponent::getFont() const
52{
53 if(mFont)
54 return mFont;
55 else
56 return Font::get(*mWindow->getResourceManager(), Font::getDefaultPath(), FONT_SIZE_MEDIUM);
57}
58
59void TextComponent::render(const Eigen::Affine3f& parentTrans)
60{

Callers

nothing calls this directly

Calls 1

getResourceManagerMethod · 0.80

Tested by

no test coverage detected