libpgf
6.11.42
PGF - Progressive Graphics File
|
Rectangle. More...
#include <PGFtypes.h>
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 |
Public Attributes | |
UINT32 | left |
UINT32 | top |
UINT32 | right |
UINT32 | bottom |
PGFRect::PGFRect | ( | ) | [inline] |
PGFRect::PGFRect | ( | UINT32 | x, |
UINT32 | y, | ||
UINT32 | width, | ||
UINT32 | height | ||
) | [inline] |
UINT32 PGFRect::Height | ( | ) | const [inline] |
bool PGFRect::IsInside | ( | UINT32 | x, |
UINT32 | y | ||
) | const [inline] |
Test if point (x,y) is inside this rectangle
x | Point coordinate x |
y | Point coordinate y |
Definition at line 214 of file PGFtypes.h.
UINT32 PGFRect::Width | ( | ) | const [inline] |
UINT32 PGFRect::bottom |
Definition at line 216 of file PGFtypes.h.
UINT32 PGFRect::left |
Definition at line 216 of file PGFtypes.h.
UINT32 PGFRect::right |
Definition at line 216 of file PGFtypes.h.
UINT32 PGFRect::top |
Definition at line 216 of file PGFtypes.h.