Grx.generate_ellipse_arc
function generate_ellipse_arc(xc: Number(gint), yc: Number(gint), rx: Number(gint), ry: Number(gint), start: Number(gint), end: Number(gint)): Array(Grx.Point) {
// Gjs wrapper for grx_generate_ellipse_arc()
}
Creates an array with points that describe the arc with the specified coordinates, radii, and starting and ending angles.
These coordinates can be drawn using polyline functions. This is more efficient when drawing the same or similar arcs multiple times.
- xc
the center X coordinate
- yc
the center Y coordinate
- rx
the radius along the X axis
- ry
the radius along the Y axis
- start
the starting angle in 1/10ths of degrees
- end
the ending angle in 1/10ths of degrees
- Returns
array containing the calculated points