#include <mi32/stipplemask.h>
Public Member Functions | |
| STIPPLEMASK (const STIPPLEMASK &rhs) | |
| STIPPLEMASK () | |
| ~STIPPLEMASK () | |
| void | Clear () |
| const bool * | GetData () const |
| const bool * | GetDataY (INT32 y) const |
| UINT16 | GetSizeX () const |
| UINT16 | GetSizeY () const |
| bool | IsDefined () const |
| STIPPLEMASK & | operator= (const STIPPLEMASK &rhs) |
| void | Set (UINT16 sizeX, UINT16 sizeY, const UINT8 *mask) |
| void | Set (UINT16 sizeX, UINT16 sizeY, const bool *mask) |
| bool | TestPoint (INT32 x, INT32 y) const |
| STIPPLEMASK::STIPPLEMASK | ( | ) | [inline] |
Default constructor, creates empty stipple.
| STIPPLEMASK::STIPPLEMASK | ( | const STIPPLEMASK & | rhs | ) |
Copy constructor.
| STIPPLEMASK::~STIPPLEMASK | ( | ) | [inline] |
Destructor.
| void STIPPLEMASK::Clear | ( | ) |
Clear stipple.
| const bool* STIPPLEMASK::GetData | ( | ) | const [inline] |
Get pointer to start of data array.
| const bool* STIPPLEMASK::GetDataY | ( | INT32 | y | ) | const [inline] |
Get pointer to data array row for specified Y value.
| UINT16 STIPPLEMASK::GetSizeX | ( | ) | const [inline] |
Get X size (width) of mask.
| UINT16 STIPPLEMASK::GetSizeY | ( | ) | const [inline] |
Get Y size (width) of mask.
| bool STIPPLEMASK::IsDefined | ( | ) | const [inline] |
Determine if stipple is defined.
| STIPPLEMASK& STIPPLEMASK::operator= | ( | const STIPPLEMASK & | rhs | ) |
Assignment.
Set stipple values from UINT8 array.
| sizeX | X size | |
| sizeY | Y size | |
| mask | Stipple mask |
Set stipple values from bool array.
| sizeX | X size | |
| sizeY | Y size | |
| mask | Stipple mask |
Test if point is included by stipple.
| x | Point X coordinate | |
| y | Point Y coordinate |
1.6.1