sfView Class Reference

#include <View.hpp>

List of all members.

Public Member Functions

 sfView ()
 sfView (float ViewLeft, float ViewTop, float ViewWidth, float ViewHeight, float ViewZoom=1.f)

Public Attributes

float Left
 Left position of view.
float Top
 Top position of view.
float Width
 Width of view.
float Height
 Height of view.
float Zoom
 Zoom (less than 1 is unzoom, greater than 1 is zoom).


Detailed Description

sfView defines a view (position, size and zoom) ; you can consider it as a camera

Definition at line 38 of file View.hpp.


Constructor & Destructor Documentation

sfView::sfView (  ) 

Default constructor

Definition at line 34 of file View.cpp.

sfView::sfView ( float  ViewLeft,
float  ViewTop,
float  ViewWidth,
float  ViewHeight,
float  ViewZoom = 1.f 
)

Construct the view with position and size

Parameters:
ViewLeft : Left position of view
ViewTop : Top position of view
ViewWidth : Width of view
ViewHeight : Height of view
ViewZoom : Zoom (1 by default)

Definition at line 48 of file View.cpp.


The documentation for this class was generated from the following files:
Generated for SFML by  doxygen 1.5.2