AddEllipseToPath(id, xc, yc, ra, rb)
xc
and
yc
arguments. The ellipse's radii have to be passed in ra
and rb
.
Note that AddEllipseToPath()
only starts a new subpath in case there is no
active subpath. Otherwise it will simply connect its vertices to the currently
active subpath. If you don't want this, you'll have to manually open a new
subpath before calling AddEllipseToPath()
. Furthermore, AddEllipseToPath()
also won't
close the active subpath when it is finished.