28 #include "Portability.h"    33 #ifndef DOXYGEN_SHOULD_SKIP_THIS   128     RectF getBounds() 
const;
   161       onSizeChange(m_size);
   219     void setViewport(
const RectF& viewport);
   241     void reset(
const RectF& rect);
   275     void zoom(
float factor);
   295     void zoom(
float factor, 
Vector2f fixed);
   317     Matrix3f getInverseTransform() 
const;
   339     virtual void onSizeChange(
Vector2f size);
   349     void setViewportNoCallback(
const RectF& viewport);
   356     virtual void onViewportChange(
const RectF& viewport);
   431     void setInitialScreenSize(
Vector2u screenSize);
   438     virtual void onScreenSizeChange(
Vector2u screenSize) = 0;
   461     void processEvent(
const Event& event);
   476 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2D camera that defines what region is shown on screen 
Definition: View.h:94
 
A view adaptor for zooming/moving with the mouse. 
Definition: View.h:446
 
AdaptativeView(const RectF &rect)
Construct the view from a rectangle. 
Definition: View.h:408
 
float getRotation() const
Get the current orientation of the view. 
Definition: View.h:195
 
Base class for all render targets (window, texture, ...) 
Definition: RenderTarget.h:66
 
const RectF & getViewport() const
Get the target viewport rectangle of the view. 
Definition: View.h:228
 
The namespace for gf classes. 
Definition: Action.h:35
 
float angle(Direction direction)
Get an angle from a direction. 
 
void setRotation(float angle)
Set the orientation of the view. 
Definition: View.h:184
 
void rotate(Matrix3f &mat, float angle)
Combine the current transform with a rotation. 
 
void setSizeNoCallback(Vector2f size)
Set the world size, without calling onSizeChange() 
Definition: View.h:328
 
Vector2f getCenter() const
Get the center of the view. 
Definition: View.h:148
 
void setSize(Vector2f size)
Set the size of the view. 
Definition: View.h:159
 
AdaptativeView()
Default constructor. 
Definition: View.h:397
 
Vector2f getSize() const
Get the size of the view. 
Definition: View.h:171
 
Defines a system event and its parameters. 
Definition: Event.h:118
 
Adaptative view. 
Definition: View.h:390
 
AdaptativeView(Vector2f center, Vector2f size)
Construct the view from its center and size. 
Definition: View.h:420
 
void setCenter(Vector2f center)
Set the center of the view. 
Definition: View.h:137