svgaddellipse
svgaddellipse |
Purpose
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.
|
x
|
The x coordinate of the center point of the ellipse.
|
y
|
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.