Draws a circle on the canvas handle.
Attach a definition to the canvas handle.
Ends a definition in handle.
Attach a description to the canvas handle.
Draws an ellipse on the canvas handle.
Signals completion of the SVG canvas handle.
Draws a grid on the canvas handle.
Attach a group definition to the canvas handle.
Ends a group definition in handle.
Links an image to the SVG canvas handle.
Draws a line on the canvas handle.
Places a link on the canvas handle.
Ends a link definition in handle.
Plots a point on the canvas handle.
Draws a polygon on the canvas handle.
Draws a polyline on the canvas handle.
Draws a rectangle on the canvas handle.
Draws a rounded rectangle on the canvas handle.
Draws a square on the canvas handle.
Returns a handle to a new SVG canvas. You must use this call to initiate the image creation process.
Returns an empty string on failure or a handle name on success.
Example:
gridstyle = `stroke:yellow;`
# create an image file
h=svg_start("/tmp/example.svg",500,500)
on h==nil do exit 1, "Invalid handle."
# content
h.svg_title("svg demo")
h.svg_desc("description goes here")
h.svg_grid(100,100,400,400,10,gridstyle)
# write file to disk
h.svg_end
Writes text to the SVG canvas handle.
Places a title on the canvas handle.