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

Method appendText

src/Core/Graphics/Text.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void RichText::Line::appendText(sf::Text text)
44 {
45 // Set text offset
46 updateTextAndGeometry(text);
47
48 // Push back
49 m_texts.push_back(std::move(text));
50 }
51
52 ////////////////////////////////////////////////////////////////////////////////
53 sf::FloatRect RichText::Line::getLocalBounds() const

Callers 1

Text.cppFile · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected