MCPcopy Create free account
hub / github.com/TankOs/SFGUI / CalculateRequisition

Method CalculateRequisition

src/SFGUI/Image.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53sf::Vector2f Image::CalculateRequisition() {
54 return sf::Vector2f( static_cast<float>( m_image.getSize().x ), static_cast<float>( m_image.getSize().y ) );
55}
56
57const std::string& Image::GetName() const {
58 static const std::string name( "Image" );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected