MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getStringWidth

Method getStringWidth

src/OpenLoco/src/Graphics/TextRenderer.cpp:1934–1937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1932 }
1933
1934 uint16_t TextRenderer::getStringWidth(const char* buffer) const
1935 {
1936 return Impl::getStringWidth(_currentFontSpriteBase, buffer);
1937 }
1938
1939 uint16_t TextRenderer::getStringWidth(const Font base, const char* buffer)
1940 {

Callers 6

drawMethod · 0.80
drawTownNamesFunction · 0.80
drawOrderLabelFunction · 0.80
drawFunction · 0.80
drawFunction · 0.80
drawFPSFunction · 0.80

Calls 1

getStringWidthFunction · 0.85

Tested by

no test coverage detected