Public Member Functions | |
Constructor / Destructor | |
CP_Bezier () | |
Constructor. | |
CP_Bezier (CP_Point inPoints[4]) | |
virtual | ~CP_Bezier () |
Destructor. | |
Drawing | |
void | Draw (CP_Canvas &inDestCanvas) |
void | Draw (CP_Canvas &inDestCanvas, CP_Point inPoints[4]) |
Protected Attributes | |
CP_Point | fPoints [4] |
Private Member Functions | |
Misc | |
void | ComputeSegmets (CP_Point inPoints[4], CP_Point segment[]) |
void | SetupBezier () |
|
Constructor.
|
|
Constructor. Sets the 4 points of the curve as follows: 0 = starting point, 1 - control point one, 2 - control point two, 3 - ending point.
|
|
Destructor.
|
|
Draws the bezier curve in the passed in canvas object.
|
|
Draws the bezier curve in the passed in canvas object, and using the passed in control points. The points are interprested as folows: 0 = starting point, 1 - control point one, 2 - control point two, 3 - ending point.
|
|
Points used to control drawing. |
|
MacOS - Private routine to setup our data fields.
|
|
|