rConicTo

fun rConicTo(dx1: Float, dy1: Float, dx2: Float, dy2: Float, w: Float): Path

Adds conic from last point towards vector (dx1, dy1), to vector (dx2, dy2), weighted by w. If Path is empty, or last PathVerb is PathVerb.CLOSE, last point is set to (0, 0) before adding conic.

Appends PathVerb.MOVE to verb array and (0, 0) to Point array, if needed.

If w is finite and not one, next appends PathVerb.CONIC to verb array, and w is recorded as conic weight; otherwise, if w is one, appends PathVerb.QUAD to verb array; or if w is not finite, appends PathVerb.LINE twice to verb array.

In all cases appends Point control and end to Point array. control is last point plus vector (dx1, dy1). end is last point plus vector (dx2, dy2).

Function name stands for "relative conic to".

Return

reference to Path

Parameters

dx1

offset from last point to conic control on x-axis

dy1

offset from last point to conic control on y-axis

dx2

offset from last point to conic end on x-axis

dy2

offset from last point to conic end on y-axis

w

weight of added conic