#include <GLViewer_Geom.h>
Detailed Description
Class GLViewer_Rect Substitution of QRect for OpenGL
Constructor & Destructor Documentation
| GLViewer_Rect.GLViewer_Rect |
( |
| ) |
|
| GLViewer_Rect.GLViewer_Rect |
( |
float |
theLeft, |
|
|
float |
theRight, |
|
|
float |
theTop, |
|
|
float |
theBottom |
|
) |
| |
| GLViewer_Rect.GLViewer_Rect |
( |
QRect |
theRect | ) |
|
Member Function Documentation
| float GLViewer_Rect.left |
( |
| ) |
const |
| float GLViewer_Rect.right |
( |
| ) |
const |
| float GLViewer_Rect.top |
( |
| ) |
const |
| float GLViewer_Rect.bottom |
( |
| ) |
const |
| float GLViewer_Rect.width |
( |
| ) |
const |
| float GLViewer_Rect.height |
( |
| ) |
const |
| void GLViewer_Rect.setLeft |
( |
float |
theLeft | ) |
|
| void GLViewer_Rect.setRight |
( |
float |
theRight | ) |
|
| void GLViewer_Rect.setTop |
( |
float |
theTop | ) |
|
| void GLViewer_Rect.setBottom |
( |
float |
theBottom | ) |
|
| void GLViewer_Rect.setCoords |
( |
float |
theLeft, |
|
|
float |
theRight, |
|
|
float |
theBottom, |
|
|
float |
theTop |
|
) |
| |
| QRect GLViewer_Rect.toQRect |
( |
| ) |
|
- Warning:
- This method translate only rect format
| void GLViewer_Rect.setIsEmpty |
( |
bool |
on | ) |
|
| bool GLViewer_Rect.isEmpty |
( |
| ) |
const |
| bool GLViewer_Rect.isNull |
( |
| ) |
const |
| bool GLViewer_Rect.isValid |
( |
| ) |
const |
| void GLViewer_Rect.move |
( |
const float |
x, |
|
|
const float |
y |
|
) |
| |
Field Documentation