Public Types | |
enum | LineCap { kLineCapButt = 0, kLineCapRound, kLineCapSquare } |
enum | LineJoin { kLineJoinMiter = 0, kLineJoinRound, kLineJoinBevel } |
Public Member Functions | |
CLineStyle (LineCap cap=kLineCapButt, LineJoin join=kLineJoinMiter, CCoord dashPhase=0., int32_t dashCount=0, const CCoord *dashLengths=0) | |
~CLineStyle () | |
LineCap | getLineCap () const |
LineJoin | getLineJoin () const |
CCoord | getDashPhase () const |
int32_t | getDashCount () const |
const CCoord * | getDashLengths () const |
bool | operator== (const CLineStyle &cls) const |
CLineStyle & | operator= (const CLineStyle &cls) |
Protected Attributes | |
LineCap | cap |
LineJoin | join |
CCoord | dashPhase |
int32_t | dashCount |
CCoord * | dashLengths |
enum LineCap |
enum LineJoin |
CLineStyle | ( | LineCap | cap = kLineCapButt , |
|
LineJoin | join = kLineJoinMiter , |
|||
CCoord | dashPhase = 0. , |
|||
int32_t | dashCount = 0 , |
|||
const CCoord * | dashLengths = 0 | |||
) |
~CLineStyle | ( | ) |
int32_t getDashCount | ( | ) | const [inline] |
const CCoord* getDashLengths | ( | ) | const [inline] |
CCoord getDashPhase | ( | ) | const [inline] |
LineCap getLineCap | ( | ) | const [inline] |
LineJoin getLineJoin | ( | ) | const [inline] |
CLineStyle & operator= | ( | const CLineStyle & | cls | ) |
bool operator== | ( | const CLineStyle & | cls | ) | const |
int32_t dashCount [protected] |
CCoord* dashLengths [protected] |