libpgf
7.15.32
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 230 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 256 of file PGFtypes.h.
|
inline |
UINT32 PGFRect::bottom |
Definition at line 258 of file PGFtypes.h.
UINT32 PGFRect::left |
Definition at line 258 of file PGFtypes.h.
UINT32 PGFRect::right |
Definition at line 258 of file PGFtypes.h.
UINT32 PGFRect::top |
Definition at line 258 of file PGFtypes.h.