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

Method View

src/SFML/Graphics/View.cpp:37–39  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

35{
36////////////////////////////////////////////////////////////
37View::View(const FloatRect& rectangle) : m_center(rectangle.getCenter()), m_size(rectangle.size)
38{
39}
40
41
42////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

getCenterMethod · 0.80

Tested by

no test coverage detected