Public Member Functions | |
Constructor / Destructor | |
CP_DemoShapesView (CPLAT::CP_View *inSuperview, const CPLAT::CP_Point &inUpperLeft, const CPLAT::CP_Size &inContentSize) | |
Constructor. | |
virtual | ~CP_DemoShapesView () throw () |
Destructor. | |
Protected Member Functions | |
Drawing | |
virtual void | OnDraw (CPLAT::CP_Canvas &inCanvas, CPLAT::CP_Region &inUpdateArea) |
Private Member Functions | |
Drawing | |
SInt16 | DrawRects (CPLAT::CP_Graphics &inGraphics, SInt16 inStartVerPosn) |
SInt16 | DrawBezier (CPLAT::CP_Graphics &inGraphics, SInt16 inStartVerPosn) |
SInt16 | DrawPolygons (CPLAT::CP_Graphics &inGraphics, SInt16 inStartVerPosn) |
|
Constructor.
|
|
Destructor.
|
|
Perform the actual drawing of the view.
|
|
Draw example rects using CP_Graphics. Called from the OnDraw() method.
|
|
Draw example bezier curves using CP_Graphics. Called from the OnDraw() method.
|
|
Draw example polygons using CP_Graphics. Called from the OnDraw() method.
|