Grx.generate_ellipse

@accepts(int, int, int, int)
@returns([Grx.Point])
def generate_ellipse(xc, yc, rx, ry):
    # Python 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