MCPcopy Create free account
hub / github.com/TankOs/SFGUI / GetFontBaselineOffset

Method GetFontBaselineOffset

src/SFGUI/Engine.cpp:118–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118float Engine::GetFontBaselineOffset( const sf::Font& font, unsigned int font_size ) const {
119 return GetFontHeightProperties( font, font_size ).y;
120}
121
122float Engine::GetFontLineSpacing( const sf::Font& font, unsigned int font_size ) const {
123 return static_cast<float>( font.getLineSpacing( font_size ) );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected