Package: gsk

Function gsk:path-builder-html-arc-to

Lambda List

gsk:path-builder-html-arc-to (builder x1 y1 x2 y2 radius)

Arguments

builder -- a gsk:path-builder instance
x1 -- a number coerced to a single float with the X coordinate of the first control point
y1 -- a number coerced to a single float with the Y coordinate of the first control point
x2 -- a number coerced to a single float with the X coordinate of the second control point
y2 -- a number coerced to a single float with the Y coordinate of the second control point
radius -- a number coerced to a single float with the radius of the circle

Details

Implements arc-to according to the HTML Canvas spec. A convenience function that implements the HTML arc-to functionality.

After this, the current point will be the point where the circle with the given radius touches the line from x1, y1 to x2, y2.

Since 4.14
 

See also

#2024-11-14