SFML - Simple and Fast Multimedia Library
SFML
31 #include <SFML/Graphics/Export.hpp>
32 #include <SFML/Graphics/Rect.hpp>
33 #include <SFML/Graphics/Transform.hpp>
34 #include <SFML/System/Vector2.hpp>
43 class SFML_GRAPHICS_API
View
81 void setCenter(
float x,
float y);
91 void setCenter(
const Vector2f& center);
102 void setSize(
float width,
float height);
124 void setRotation(
float angle);
141 void setViewport(
const FloatRect& viewport);
183 float getRotation()
const;
204 void move(
float offsetX,
float offsetY);
224 void rotate(
float angle);
241 void zoom(
float factor);
265 const Transform& getInverseTransform()
const;
278 mutable bool m_transformUpdated;
279 mutable bool m_invTransformUpdated;
285 #endif // SFML_VIEW_HPP