28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
188 void resizeWorld(Vector2f worldSize);
191 Vector2f m_worldSize;
248 void resizeWorld(Vector2f worldSize);
251 Vector2f m_worldSize;
274 #ifndef DOXYGEN_SHOULD_SKIP_THIS
FitView(Vector2f center, Vector2f size)
Construct the view from its center and size.
Definition: Views.h:126
FitView()
Default constructor.
Definition: Views.h:103
FillView(Vector2f center, Vector2f size)
Construct the view from its center and size.
Definition: Views.h:176
virtual void onScreenResize(Vector2u screenSize) override
Callback when the screen has just been resized.
AdaptativeView(const RectF &rect)
Construct the view from a rectangle.
Definition: View.h:363
Screen view.
Definition: Views.h:269
Fit view.
Definition: Views.h:96
StretchView()
Default constructor.
Definition: Views.h:52
FitView(const RectF &rect)
Construct the view from a rectangle.
Definition: Views.h:114
StretchView(const RectF &rect)
Construct the view from a rectangle.
Definition: Views.h:63
ExtendView()
Default constructor.
Definition: Views.h:213
Fill view.
Definition: Views.h:146
virtual void onWorldResize(Vector2f worldSize) override
Callback when the world has just been resized.
ExtendView(Vector2f center, Vector2f size)
Construct the view from its center and size.
Definition: Views.h:236
ExtendView(const RectF &rect)
Construct the view from a rectangle.
Definition: Views.h:224
Extend view.
Definition: Views.h:206
Vector2f getSize() const
Get the size of the view.
Definition: View.h:162
virtual void onScreenResize(Vector2u screenSize) override
Callback when the screen has just been resized.
AdaptativeView()
Default constructor.
Definition: View.h:352
virtual void onWorldResize(Vector2f worldSize) override
Callback when the world has just been resized.
FillView(const RectF &rect)
Construct the view from a rectangle.
Definition: Views.h:164
virtual void onScreenResize(Vector2u screenSize) override
Callback when the screen has just been resized.
#define GF_API
Definition: Portability.h:35
Adaptative view.
Definition: View.h:345
StretchView(Vector2f center, Vector2f size)
Construct the view from its center and size.
Definition: Views.h:75
Stretch view.
Definition: Views.h:45
FillView()
Default constructor.
Definition: Views.h:153
virtual void onScreenResize(Vector2u screenSize) override
Callback when the screen has just been resized.
AdaptativeView(Vector2f center, Vector2f size)
Construct the view from its center and size.
Definition: View.h:375
virtual void onScreenResize(Vector2u screenSize) override
Callback when the screen has just been resized.