#include <gelRect.h>
List of all members.
Constructor & Destructor Documentation
gel::GelRect::GelRect |
( |
| ) |
[inline] |
Default constructor.
Assigns zero to all data members.
gel::GelRect::GelRect |
( |
int |
_left, |
|
|
int |
_top, |
|
|
int |
_width, |
|
|
int |
_height |
|
) |
| |
GelRect constructor.
- Parameters:
-
_left | : X origin. |
_top | : Y origin. |
_width | : Width. |
_height | : Height. |
Member Function Documentation
void gel::GelRect::set |
( |
int |
_left, |
|
|
int |
_top, |
|
|
int |
_width, |
|
|
int |
_height |
|
) |
| |
Sets the rect size.
- Parameters:
-
_left | : X origin. |
_top | : Y origin. |
_width | : Width. |
_height | : Height. |
void gel::GelRect::toOGLview |
( |
int |
view[4] | ) |
const |
Converts the rect to an OpenGL-style viewport.
- Parameters:
-
view | : An array of 4 integers. |
bool gel::GelRect::operator== |
( |
const GelRect & |
r | ) |
const [inline] |
bool gel::GelRect::operator!= |
( |
const GelRect & |
r | ) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: