Patent ID: 7116327

Claim:
A method of generating a control point for a cubic Bézier curve between a first point and a second point in a sequence of ordered points using three consecutive points from the sequence of ordered points, the three consecutive points including the first point, the second point, and a third point, based on coordinates of the first point, coordinates of the second point, and coordinates of the third point, the method comprising: determining a first line segment between the second point and the third point; determining a second line segment between the first point and the second point; determining a first horizontal reference line containing the second point; determining a second horizontal reference line containing the first point; determining a first angle between the second horizontal reference line and the first line segment; determining a second angle between the first horizontal reference line and the second line segment; determining a third angle between the first horizontal reference line and the first line segment; generating a first control angle based on the first angle and the average of the second and third angles; generating a control distance based on the first line segment; generating the control point based on the first control angle and the control distance; and displaying a cubic Bézier curve between the first point and the second point.