TAgg2D.CubicCurveRel(dxCtrl1, dyCtrl1, dxCtrl2, dyCtrl2, dxTo, dyTo)
Description
Adds a CUBIC_TO_REL path command to the current subpath. A new Cubic Bézier curve starts at the Current Point position, bends by definition of Current Point plus defined delta control points 1 & 2 and ends at Current Point position plus defined delta 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
dxCtrl1: double
Addition (delta +/-) to the Current Point for control point 1 on X axis [in subpixels].
dyCtrl1: double
Addition (delta +/-) to the Current Point for control point 1 on Y axis [in subpixels].
dxCtrl2: double
Addition (delta +/-) to the Current Point for control point 2 on X axis [in subpixels].
dyCtrl2: double
Addition (delta +/-) to the Current Point for control point 2 on Y axis [in subpixels].
dxTo: double
Change (delta +/-) to the Current Point coordinate on X axis [in subpixels].
dyTo: double
Change (delta +/-) to the Current Point coordinate on Y axis [in subpixels].
Example
See the Path Example page.


