arc_to


Description:

public void arc_to (float x1, float y1, float x2, float y2)

Adds an elliptical arc from the current point to x3, y3 with x1, y1 determining the tangent directions.

After this, x3, y3 will be the new current point.

Note: Two points and their tangents do not determine a unique ellipse, so GSK just picks one. If you need more precise control, use [ method@Gsk.PathBuilder.conic_to] or [method@Gsk.PathBuilder.svg_arc_to].

<picture> <source srcset="arc-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Arc To" src="arc-light.png"> < /picture>

Parameters:

this

a `GskPathBuilder`

x1

x coordinate of first control point

y1

y coordinate of first control point

x2

x coordinate of second control point

y2

y coordinate of second control point