Cairo.RelCurveTo (gb.cairo)
Static Sub RelCurveTo ( DX1 As Float, DY1 As Float, DX2 As Float, DY2 As Float, DX3 As Float, DY3 As Float )
Relative-coordinate version of
Cairo.CurveTo.
All offsets are relative to the current point. Adds a cubic Bézier spline to the path from the current point to a point offset from the current point by (
DX3,
DY3), using points offset by (
DX1,
DY1) and (
DX2,
DY2) as the control points. After this call the current point will be offset by (
DX3,
DY3).
-
DX1 : the X offset to the first control point.
-
DY1 : the Y offset to the first control point.
-
DX2 : the X offset to the second control point.
-
DY2 : the Y offset to the second control point.
-
DX3 : the X offset to the end of the curve.
-
DY3 : the Y offset to the end of the curve.
Given a current point of (X, Y),
Cairo.RelCurveTo(DX1, DY1, DX2, DY2, DX3, DY3)
is logically equivalent to
Cairo.CurveTo(X + DX1, Y + DY1, X + DX2, Y + DY2, X + DX3, Y + DY3)
.
It is an error to call this function with no current point.