Drawing Graphic Elements

The following routines are used to draw graphic elements on the pages of documents:

drawRect draws a filled or stroked rectangle

drawLine draws a line

drawRoundRect draws a filled or stroked round rect

drawOval draws a filled or stroked oval

drawText draws a line of text

drawPicture draws a picture from the cast or from disk

drawStagePicture draws a picture of the Stage contents