CODRgn::ApproximateCurve

void CODRgn::ApproximateCurve(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3)

Approximates a single segment of a bezier curve with a series of line segments. The results are placed in the m_pApprox array.

Defined in: OdRgn.cpp

Return Value

void

Parameters

x0

The x coordinate of the start point of the curve.

y0

The y coordinate of the start point of the curve.

x1

The x coordinate of the first control point of the curve.

y1

The y coordinate of the first control point of the curve.

x2

The x coordinate of the second control point of the curve.

y2

The y coordinate of the second control point of the curve.

x3

The x coordinate of the end point of the curve.

y3

The y coordinate of the end point of the curve.