| 120 | } |
| 121 | |
| 122 | float Engine::GetFontLineSpacing( const sf::Font& font, unsigned int font_size ) const { |
| 123 | return static_cast<float>( font.getLineSpacing( font_size ) ); |
| 124 | } |
| 125 | |
| 126 | sf::Vector2f Engine::GetTextStringMetrics( const std::u32string& string, const sf::Font& font, unsigned int font_size ) const { |
| 127 | // SFML is incapable of giving us the metrics we need so we have to do it ourselves. |
nothing calls this directly
no outgoing calls
no test coverage detected