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

Method Sprite

src/SFML/Graphics/Sprite.cpp:38–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36{
37////////////////////////////////////////////////////////////
38Sprite::Sprite(const Texture& texture) : Sprite(texture, IntRect({0, 0}, Vector2i(texture.getSize())))
39{
40}
41
42
43////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected