TAgg2D.QuadricCurveTo (xTo, yTo)
Description
Adds a SQUAD_TO_ABS path command to the current subpath. A new Quadratic Bézier curve starts at the Current Point position, bends by definition of calculated control point and ends at defined coordinates. The control point is calculated as the reflection of the control point on the previous command relative to the Current Point. If there is no previous command or if the previous command is not a QuadCurve, the missing control point is the same as the Current Point. Current Point is finally changed to be at the end of a new Bézier curve segment.
This Quadratic Bézier curve definition is compliant with SVG specification.
Parameters
xTo: double
X coordinate of end of a new QuadCurve segment [in subpixels].
yTo: double
Y coordinate of end of a new QuadCurve segment [in subpixels].
Example
See the Path Example page.


