Grx.generate_ellipse
function generate_ellipse(xc: Number(gint), yc: Number(gint), rx: Number(gint), ry: Number(gint)): Array(Grx.Point) {
// Gjs wrapper for grx_generate_ellipse()
}
Creates an array of points that describe the ellipse with the specified coordinates and radii.
These coordinates can be drawn using polygon functions. This is more efficient when drawing the same or similar circles and ellipses 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
- Returns
array containing the calculated points