CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
csad::ViewPort Class Reference

ViewPort - rectangular area of the screen where the image is built. More...

Public Member Functions

_FORCEINLINE float getHeight ()
 Returns the height ratio.
 
CSAD_API vector4fgetRect ()
 Returns the coefficients position and size the window display.
 
CSAD_API vector4i getRect (GlContext *context)
 Calculates the size of the window in pixels.
 
CSAD_API vector4i getRect (Display *display)
 Calculates the size of the window in pixels.
 
_FORCEINLINE float getWidth ()
 Returns the width ratio.
 
_FORCEINLINE float getX ()
 returns smashie right from the bottom left corner
 
_FORCEINLINE float getY ()
 Returns mixing up from the bottom left corner.
 
CSAD_API void setFull ()
 Sets the display window in the context size.
 
_FORCEINLINE void setRect (vector4f &rect)
 Specifies mastasia dimensions region.
 

Detailed Description

ViewPort - rectangular area of the screen where the image is built.

See Also
csad: scene