You can draw straight lines with the functions draw-line and draw-lines .
draw-line
draw-lines
You can draw arcs of an ellipse with the functions draw-arc and draw-arcs .
draw-arc
draw-arcs
CAPI User Guide (Unix version) - 30 Aug 2011