Methods and devices for generating a cubic Bezier curve between a first
point and a second point from a sequence of ordered points. One
embodiment provides a method that includes selecting a third point from
the sequence of ordered points; determining a first control point based
on the first point, the second point, and the third point; selecting a
fourth point from the sequence of ordered points; determining a second
control point based on the first point, the second point, and the fourth
point; and generating a cubic Bezier curve between the first point and
the second point using the first control point and the second control
point.