![]() |
doom3-gpl
Doom 3 GPL source release
|
#include <Rectangle.h>
Public Member Functions | |
| idRectangle () | |
| idRectangle (float ix, float iy, float iw, float ih) | |
| float | Bottom () const |
| float | Right () const |
| void | Offset (float x, float y) |
| bool | Contains (float xt, float yt) |
| void | Empty () |
| void | ClipAgainst (idRectangle r, bool sizeOnly) |
| void | Rotate (float a, idRectangle &out) |
| idRectangle & | operator+= (const idRectangle &a) |
| idRectangle & | operator-= (const idRectangle &a) |
| idRectangle & | operator/= (const idRectangle &a) |
| idRectangle & | operator/= (const float a) |
| idRectangle & | operator*= (const float a) |
| idRectangle & | operator= (const idVec4 v) |
| int | operator== (const idRectangle &a) const |
| float & | operator[] (const int index) |
| char * | String (void) const |
| const idVec4 & | ToVec4 () const |
Public Attributes | |
| float | x |
| float | y |
| float | w |
| float | h |
Definition at line 34 of file Rectangle.h.
|
inline |
Definition at line 40 of file Rectangle.h.
Definition at line 41 of file Rectangle.h.
Definition at line 42 of file Rectangle.h.
|
inline |
Definition at line 59 of file Rectangle.h.
Definition at line 48 of file Rectangle.h.
Definition at line 57 of file Rectangle.h.
Definition at line 44 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator*= | ( | const float | a | ) |
Definition at line 157 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator+= | ( | const idRectangle & | a | ) |
Definition at line 120 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator-= | ( | const idRectangle & | a | ) |
Definition at line 148 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator/= | ( | const idRectangle & | a | ) |
Definition at line 129 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator/= | ( | const float | a | ) |
Definition at line 138 of file Rectangle.h.
| ID_INLINE idRectangle & idRectangle::operator= | ( | const idVec4 | v | ) |
Definition at line 167 of file Rectangle.h.
| ID_INLINE int idRectangle::operator== | ( | const idRectangle & | a | ) | const |
Definition at line 175 of file Rectangle.h.
Definition at line 179 of file Rectangle.h.
|
inline |
Definition at line 43 of file Rectangle.h.
|
inline |
Definition at line 78 of file Rectangle.h.
| char * idRectangle::String | ( | void | ) | const |
Definition at line 1086 of file DeviceContext.cpp.
Definition at line 115 of file Rectangle.h.
| float idRectangle::h |
Definition at line 39 of file Rectangle.h.
| float idRectangle::w |
Definition at line 38 of file Rectangle.h.
| float idRectangle::x |
Definition at line 36 of file Rectangle.h.
| float idRectangle::y |
Definition at line 37 of file Rectangle.h.
1.8.6.