STIPPLEMASK Class Reference

#include <mi32/stipplemask.h>

List of all members.

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
STIPPLEMASKoperator= (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

Constructor & Destructor Documentation

STIPPLEMASK::STIPPLEMASK (  )  [inline]

Default constructor, creates empty stipple.

STIPPLEMASK::STIPPLEMASK ( const STIPPLEMASK rhs  ) 

Copy constructor.

STIPPLEMASK::~STIPPLEMASK (  )  [inline]

Destructor.


Member Function Documentation

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.

void STIPPLEMASK::Set ( UINT16  sizeX,
UINT16  sizeY,
const UINT8 mask 
)

Set stipple values from UINT8 array.

Parameters:
sizeX X size
sizeY Y size
mask Stipple mask
void STIPPLEMASK::Set ( UINT16  sizeX,
UINT16  sizeY,
const bool *  mask 
)

Set stipple values from bool array.

Parameters:
sizeX X size
sizeY Y size
mask Stipple mask
bool STIPPLEMASK::TestPoint ( INT32  x,
INT32  y 
) const [inline]

Test if point is included by stipple.

Parameters:
x Point X coordinate
y Point Y coordinate

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:52 2012 for TNTsdk 2012 by  doxygen 1.6.1