Rectangle.
More...
#include <PGFtypes.h>
|
| 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 |
|
|
UINT32 | left |
|
UINT32 | top |
|
UINT32 | right |
|
UINT32 | bottom |
|
Rectangle.
Rectangle
- Author
- C. Stamm
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 |
UINT32 PGFRect::Height |
( |
| ) |
const |
|
inline |
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
UINT32 PGFRect::Width |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file:
- /Users/ale/src/Scribus/scribus/third_party/pgf/PGFtypes.h