The SiMPLE
System Library


(Abridged)





Task:                    Description:

Circle (x,y,r)           Draws a circle of radius r [in the current Linecolor],
                         centered at location (x,y).

Cls (color)              Clears the screen to the specified color. (If no color is
                         specified, clears the screen to black.)

Delay (milliseconds)     Delays for the specified number of milliseconds.

Ellipse (x,y,a,b)        Draws an ellipse [in the current Linecolor], centered at
                         location (x,y), with x-radius = a and y-radius = b.

Ellipse (x,y,a,b,ang)    Draws an ellipse [in the current Linecolor], centered at
                         location (x,y), with x-radius = a, y-radius = b, and rota-
                         tion angle = ang.

Filledcircle (x,y,r)     Draws a filled circle of radius r [in the current Linecolor
                         and Solidcolor], centered at location (x,y).

Filledellipse (x,y,a,b)  Draws a filled ellipse [in the current Linecolor and Solid-
                         color], centered at location (x,y), with x-radius = a, and
                         y-radius = b.

Filledrectangle (xul,yul,xlr,ylr)    Draws a filled rectangle [in the current Line-
                                     color and Solidcolor] whose upper left-hand
                         corner is located at (xul,yul) and whose lower right-hand
                         corner is located at (xlr,ylr).

Frame                    Draws a gray frame around the edge of the screen.

Line (a,b,x,y)           Draws a straight line [in the current Linecolor] from loca-
                         tion (a,b) to location (x,y).

Linecolor (color)        Specifies the color to be used for drawing lines.

Plot (x,y)               Plots a pixel [in the current Pointcolor] at location (x,y).

Pointcolor (color)       Specifies the color to be used for plotting points.

Rectangle (xul,yul,xlr,ylr)    Draws a rectangle [in the current Line color] whose
                               upper-left corner is located at (xul,yul) and whose
                         lower-right corner is located at (xlr,ylr).

Solidcircle (x,y,r)      Draws a solid circle of radius r [in the current Solid-
                         color], centered at location (x,y).

Solidcolor (color)       Specifies the color to be used for drawing solid shapes
                         and filled shapes.

Solidellipse (x,y,a,b)   Draws a solid ellipse [in the current Solidcolor] centered
                         at location (x,y), with x-radius = a and y-radius = b.

Solidrectangle (xul,yul,xlr,ylr)    Draws a solid rectangle [in the current
                                    Solidcolor] whose upper-left corner is located
                         at (xul,yul) and whose lower right corner is at (xlr,ylr).

Waitkey                  Waits for any key on the keyboard to be pressed.

Waitquitkey              Waits for any key on the keyboard to be pressed, then
                         terminates the program.



The SiMPLE CodeWorks, Inc.
www.simplecodeworks.com