R2 - DrawSpline


void R2::DrawSpline(PointL pt1,
                    PointL pt2,
                    PointL pt3,
                    PointL pt4)

This method draws a spline.

Parameters

PointL pt1

The starting point of the spline.

PointL pt2

The first control point of the spline.

PointL pt3

The second control point of the spline.

PointL pt4

The ending point of the spline.

Notes

A line drawn from the starting point to the first control point is tangential to the spline. A line drawn from from the ending point of the spline to the second control point is also tangential to the spline. The starting and ending points together with the tangents at these points completely determine the shape of the spline.