svgaddrectangle
| svgaddrectangle | 
  Purpose
 
  Synopsis
 
procedure svgaddrectangle(gid: string, x: real, y: real, w: real, h: real)
 
  Arguments
 
| 
     gid 
     | 
     Object group ID.
     | 
| 
     x 
     | 
     The x coordinate of the lower left corner.
     | 
| 
     y 
     | 
     The y coordinate of the lower left corner.
     | 
| 
     w 
     | 
     The width of the rectangle.
     | 
| 
     h 
     | 
     The height of the rectangle.
     | 
  Example
 
  The following code draws a rectangle filled with the group color covering an area 10 units long and 1 unit high starting at the origin.
 
svgaddrectangle(0,0,10,1) svgsetstyle(svggetlastobj, SVG_FILL, SVG_CURRENT
  Further information
 
  If no group ID is specified, the rectangle is added to the last group that has been created.
 
 
