curveTo

common
fun curveTo(x1: Double, y1: Double, y2: Double, x2: Double, x3: Double, y3: Double)

Adds a cubic Bézier spline to the path from the current point to position (x3, y3) in user-space coordinates, using (x1, y1) and (x2, y2) as the control points. After this call the current point will be (x3, y3). If there is no current point before the call to curveTo then this function will behave as if preceded by a call to moveTo(cr , x1 , y1).

Parameters

x1

The X coordinate of the first control point.

y1

The Y coordinate of the first control point.

x2

The X coordinate of the second control point.

y2

The Y coordinate of the second control point.

x3

the X coordinate of the end of the curve.

y3

the Y coordinate of the end of the curve.

linuxArm32
fun curveTo(x1: Double, y1: Double, y2: Double, x2: Double, x3: Double, y3: Double)

Parameters

x1

The X coordinate of the first control point.

y1

The Y coordinate of the first control point.

x2

The X coordinate of the second control point.

y2

The Y coordinate of the second control point.

x3

the X coordinate of the end of the curve.

y3

the Y coordinate of the end of the curve.

linuxX64
fun curveTo(x1: Double, y1: Double, y2: Double, x2: Double, x3: Double, y3: Double)

Parameters

x1

The X coordinate of the first control point.

y1

The Y coordinate of the first control point.

x2

The X coordinate of the second control point.

y2

The Y coordinate of the second control point.

x3

the X coordinate of the end of the curve.

y3

the Y coordinate of the end of the curve.