MCPcopy Create free account
hub / github.com/SFML/SFML / setTextureRect

Method setTextureRect

src/SFML/Graphics/Shape.cpp:77–81  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75
76////////////////////////////////////////////////////////////
77void Shape::setTextureRect(const IntRect& rect)
78{
79 m_textureRect = rect;
80 updateTexCoords();
81}
82
83
84////////////////////////////////////////////////////////////

Callers 2

Sprite.test.cppFile · 0.45
Shape.test.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected