Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::Viewport Class Reference

#include <StkViewport.h>

Public Member Functions

 Viewport (int x=0, int y=0, int w=0, int h=0)
 
void apply () const
 
void setViewport (int x, int y, int w, int h)
 
int getWidth () const
 
int getHeight () const
 
int getLeft () const
 
int getBottom () const
 
const int * getArray () const
 
float clipToViewX (float pj_x) const
 Convert from clip space to view coordinates.
 
float clipToViewY (float pj_y) const
 Convert from clip space to view coordinates.
 
STK::Vector2f clipToView (const STK::Vector2f &pj) const
 
STK::Vector2f clipToView (const STK::Vector3f &pj) const
 
bool operator== (const Viewport &other) const
 
bool operator!= (const Viewport &other) const
 

Detailed Description

Viewport - Short description. Detailed description.


The documentation for this class was generated from the following file: