Microsoft’s docs say:
Specifies that the corresponding point
in lpPoints is a control point or
ending point for a Bèzier curve.
PT_BEZIERTO values always occur in sets of three. The point in
the path immediately preceding them
defines the starting point for the
Bèzier curve. The first two
PT_BEZIERTO points are the control
points, and the third PT_BEZIERTO
point is the ending (if hard-coded)
point.
http://msdn.microsoft.com/en-us/library/dd144908%28v=VS.85%29.aspx
does this mean it returns cubic or quadratic curves?
Thanks
It’s a cubic with shared endpoints. p[0], p[1], p[2], p[3] make up the first segment; p[3], p[4], p[5], and p[6] make up the second segment. And so forth.