Paint.RelCurveTo (gb.qt4)

Static Sub RelCurveTo ( X1 As Float, Y1 As Float, X2 As Float, Y2 As Float, X3 As Float, Y3 As Float )

Relative-coordinate version of 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), Paint.RelCurveTo(DX1, DY1, DX2, DY2, DX3, DY3) is logically equivalent to Paint.CurveTo(X + DX1, Y + DY1, X + DX2, Y + DY2, X + DX3, Y + DY3).