Initializing help system before first use

svgaddellipse

svgaddellipse


Purpose
Add an ellipse to an object group.
Synopsis
procedure svgaddellipse(gid: string, x: real, y: real, rx: real, ry: real)
procedure svgaddellipse(x: real, y: real, rx: real, ry: real)
Arguments
gid 
Object group ID.
The x coordinate of the center point of the ellipse.
The y coordinate of the center point of the ellipse.
rx 
The horizontal radius.
ry 
The vertical radius.
Example
The following code draws a very "flat" ellipse centered at the origin filled with the group color.
svgaddellipse(0,0,5,0.5)
svgsetstyle(svggetlastobj, SVG_FILL, SVG_CURRENT)
Further information
If no group ID is specified, the ellipse is added to the last group that has been created.