Cairo.RelLineTo (gb.cairo)
Static Sub RelLineTo ( DX As Float, DY As Float )
Relative-coordinate version of
Cairo.LineTo().
Adds a line to the path from the current point to a point that is offset from the current point by (
DX,
DY) in user space. After this call the current point will be offset by (
DX,
DY).
-
DX : the X offset to the end of the new line.
-
DY : the Y offset to the end of the new line.
Given a current point of (X, Y),
Cairo.RelLineTo(DX, DY)
is logically equivalent to
Cairo.LineTo(X + DX, Y + DY)
.
It is an error to call this function with no current point.