Rectangle.
More...
#include <PGFtypes.h>
List of all members.
Public Member Functions |
| PGFRect () |
| Standard constructor.
|
| PGFRect (UINT32 x, UINT32 y, UINT32 width, UINT32 height) |
UINT32 | Width () const |
UINT32 | Height () const |
bool | IsInside (UINT32 x, UINT32 y) const |
Detailed Description
Rectangle.
Rectangle
- Author:
- C. Stamm
Definition at line 194 of file PGFtypes.h.
Constructor & Destructor Documentation
PGFRect::PGFRect |
( |
UINT32 |
x, |
|
|
UINT32 |
y, |
|
|
UINT32 |
width, |
|
|
UINT32 |
height |
|
) |
| |
|
inline |
Constructor
- Parameters:
-
x | Left offset |
y | Top offset |
width | Rectangle width |
height | Rectangle height |
Definition at line 202 of file PGFtypes.h.
Member Function Documentation
UINT32 PGFRect::Height |
( |
| ) |
const |
|
inline |
- Returns:
- Rectangle height
Definition at line 207 of file PGFtypes.h.
bool PGFRect::IsInside |
( |
UINT32 |
x, |
|
|
UINT32 |
y |
|
) |
| const |
|
inline |
Test if point (x,y) is inside this rectangle
- Parameters:
-
x | Point coordinate x |
y | Point coordinate y |
- Returns:
- True if point (x,y) is inside this rectangle
Definition at line 213 of file PGFtypes.h.
UINT32 PGFRect::Width |
( |
| ) |
const |
|
inline |
- Returns:
- Rectangle width
Definition at line 205 of file PGFtypes.h.
Member Data Documentation
The documentation for this struct was generated from the following file: