# R2 - DrawSpline

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

This method draws a spline.

## Parameters

Point pt1

The starting point of the spline.

Point pt2

The first control point of the spline.

Point pt3

The second control point of the spline.

Point 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.