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

Method draw

src/Core/Graphics/Text.cpp:65–71  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

63
64 ////////////////////////////////////////////////////////////////////////////////
65 void RichText::Line::draw(sf::RenderTarget& target, sf::RenderStates states) const
66 {
67 states.transform *= getTransform();
68
69 for (const sf::Text& text : m_texts)
70 target.draw(text, states);
71 }
72
73 ////////////////////////////////////////////////////////////////////////////////
74 void RichText::Line::updateGeometry() const

Callers 3

drawPointFunction · 0.45
drawLineFunction · 0.45
drawPolygonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected