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

Method updateGeometry

extlibs/sfe/src/RichText.cpp:78–84  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

76
77 ////////////////////////////////////////////////////////////////////////////////
78 void RichText::Line::updateGeometry() const
79 {
80 m_bounds = sf::FloatRect();
81
82 for (sf::Text& text : m_texts)
83 updateTextAndGeometry(text);
84 }
85
86
87 ////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

setPositionMethod · 0.45
getGlobalBoundsMethod · 0.45

Tested by

no test coverage detected