MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / updateGeometry

Method updateGeometry

src/Core/Graphics/Text.cpp:74–80  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

72
73 ////////////////////////////////////////////////////////////////////////////////
74 void RichText::Line::updateGeometry() const
75 {
76 m_bounds = sf::FloatRect();
77
78 for (sf::Text& text : m_texts)
79 updateTextAndGeometry(text);
80 }
81
82 ////////////////////////////////////////////////////////////////////////////////
83 void RichText::Line::updateTextAndGeometry(sf::Text& text) const

Callers

nothing calls this directly

Calls 2

setPositionMethod · 0.45
getGlobalBoundsMethod · 0.45

Tested by

no test coverage detected