Class CurvePoint
See Also: Class ICurve.
class CurvePoint
Description:
This class is available in release 3.0 and later only.
This class stores data about a single point on a curve used by the custom curve control.
Data Members:
public:
Point2 p;
The curve point.
Point2 in;
The in tangent, relative to p.
Point2 out;
The out tangent, relative to p.
int flags;
One or more of the following values which describes the type of curve point:
CURVEP_BEZIER
Indicates the point is a bezier smooth point.
CURVEP_CORNER
Indicates the point is a corner point.
To get a Bezier Corner use:
CURVEP_CORNER & CURVEP_BEZIER
CURVEP_LOCKED_Y
Indicates the point is locked in Y.
CURVEP_LOCKED_X
Indicates the point is locked in X.
CURVEP_SELECTED
Indicates the point is selected.
CURVEP_ENDPOINT
Indicates a constrained endpoint on the curve.
CURVEP_NO_X_CONSTRAINT
Indicates a point should not be constrained to X.