|
libpgf
7.21.2
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 235 of file PGFtypes.h.
|
inline |
|
inline |
Test if point (x,y) is inside this rectangle (inclusive top-left edges, exclusive bottom-right edges)
| x | Point coordinate x |
| y | Point coordinate y |
Definition at line 264 of file PGFtypes.h.
|
inline |
| UINT32 PGFRect::bottom |
Definition at line 225 of file PGFtypes.h.
| UINT32 PGFRect::left |
Definition at line 225 of file PGFtypes.h.
| UINT32 PGFRect::right |
Definition at line 225 of file PGFtypes.h.
| UINT32 PGFRect::top |
Definition at line 225 of file PGFtypes.h.