|
libpgf
6.14.12
PGF - Progressive Graphics File
|
Rectangle. More...
#include <PGFtypes.h>
Public Member Functions | |
| PGFRect () | |
| Standard constructor. More... | |
| 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 |
|
inline |
|
inline |
Constructor
| x | Left offset |
| y | Top offset |
| width | Rectangle width |
| height | Rectangle height |
Definition at line 202 of file PGFtypes.h.
|
inline |
|
inline |
Test if point (x,y) is inside this rectangle
| x | Point coordinate x |
| y | Point coordinate y |
Definition at line 213 of file PGFtypes.h.
|
inline |
| UINT32 PGFRect::bottom |
Definition at line 215 of file PGFtypes.h.
| UINT32 PGFRect::left |
Definition at line 215 of file PGFtypes.h.
| UINT32 PGFRect::right |
Definition at line 215 of file PGFtypes.h.
| UINT32 PGFRect::top |
Definition at line 215 of file PGFtypes.h.