Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

ViewPort.h

00001 #ifndef _VIEWPORT_
00002 #define _VIEWPORT_
00003 
00004 class ViewPort {
00005 
00006     public:
00007         int x;
00008         int y;
00009         int h;
00010         int w;
00011 
00012         ViewPort(int x=1, int y=1, int w=1, int h=1) {
00013             this->x = x;
00014             this->y = y;
00015             this->w = w;
00016             this->h = h;
00017         }
00018 
00022         void setViewPort();
00023 
00024         void setViewPort(int x, int y, int w, int h);
00025         
00027         void resetViewPort();
00028 
00030         void flipYAxis(int &y);
00031         
00032 };
00033 
00034 #endif

Generated on Mon Dec 12 15:20:26 2005 for CCube by  doxygen 1.4.1