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

Method getGlobalBounds

src/Core/Graphics/Text.cpp:59–62  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

57
58 ////////////////////////////////////////////////////////////////////////////////
59 sf::FloatRect RichText::Line::getGlobalBounds() const
60 {
61 return getTransform().transformRect(getLocalBounds());
62 }
63
64 ////////////////////////////////////////////////////////////////////////////////
65 void RichText::Line::draw(sf::RenderTarget& target, sf::RenderStates states) const

Callers 7

getSpriteWidthMethod · 0.45
getSpriteHeightMethod · 0.45
getRectMethod · 0.45
updateTextAndGeometryMethod · 0.45
Text.cppFile · 0.45
updateGeometryMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected