MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setFont

Method setFont

source/rendering/StarTextPainter.cpp:296–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296void TextPainter::setFont(String const& font) {
297 m_fontTextureGroup.switchFont(m_renderSettings.font = font);
298}
299
300TextStyle& TextPainter::setTextStyle(TextStyle const& textStyle) {
301 TextStyle& style = m_renderSettings = textStyle;

Callers 1

renderParticlesMethod · 0.45

Calls 1

switchFontMethod · 0.80

Tested by

no test coverage detected