TAgg2D.CubicCurveTo(xCtrl1, yCtrl1, xCtrl2, yCtrl2, xTo, yTo)
Description
Adds a CUBIC_TO_ABS path command to the current subpath. A new Cubic Bézier curve starts at the Current Point position, bends by definition of defined control points 1 & 2, and ends at defined coordinates. Current Point is finally changed to be at the end of a new Bézier curve segment.
This Cubic Bézier curve definition is compliant with SVG specification.
Parameters
xCtrl1: double
X coordinate of CubicCurve control point 1 [in subpixels].
yCtrl1: double
Y coordinate of CubicCurve control point 1 [in subpixels].
xCtrl2: double
X coordinate of CubicCurve control point 2 [in subpixels].
yCtrl2: double
Y coordinate of CubicCurve control point 2 [in subpixels].
xTo: double
X coordinate of end of a new CubicCurve segment [in subpixels].
yTo: double
Y coordinate of end of a new CubicCurve segment [in subpixels].
Example
See the Path Example page.


