Name
AddEllipseToPath -- add ellipse to path (V5.0)
Synopsis
AddEllipseToPath(id, xc, yc, ra, rb)
Function
This function adds an ellipse to the path specified in the first argument. You have to provide the center point of the ellipse in the 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.

Inputs
id
identifier of path to which the ellipse should be added
xc
x center point of ellipse
yc
y center point of ellipse
ra
ellipse radius on the x axis
rb
ellipse radius on the y axis

Show TOC