MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetLeading

Method GetLeading

src/gfx_layout_icu.cpp:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78 const Font *GetFont() const override { return this->font; }
79 int GetLeading() const override { return this->font->fc->GetHeight(); }
80 int GetGlyphCount() const override { return this->glyphs.size(); }
81 int GetAdvance() const { return this->total_advance; }
82 };

Callers

nothing calls this directly

Calls 1

GetHeightMethod · 0.45

Tested by

no test coverage detected