NAME: Turtle Graphics Library Version 1.00 MODULE: Turtle.Hdr, Turtle.Lib RELEASE: 1 AUTHOR: Tim Meekins This documentation describes the usage of the turtle graphics library. It consists of the following files: TURTLE.HDR and TURTLE.LIB. these are borth Turbo Pascal (tm) include files. These procedures require the Diablo Graphics Library to be present. The following compiler directives should be present near the beginning of your program: {$i diablo.hdr} {$i turtle.hdr} {$i diablo.lib} {$i turtle.lib}. The following paragraphs describe the usage of the turtle graphics procedures: INIT_DIABLO ----------- Calls init_diablo to initialize the printer, move the carriage to the center of the paper (0,0 -- we're using cartesian coordinates, these are not the same as those used in the Diablo Graphics Library), and sets all necessary variables to their default values. PEN_UP ------ "Raises the drawing pen off the paper." In other words, no drawing will be taking place. PEN_DOWN -------- "Places the drawing pen on the paper." The "pen" will now leave marks when drawing commands are executed. T_MOVETO (x,y) -------------- Move the "turtle" (carriage) to coordinates (x,y) which must be in the range of -250..250. If the "pen" is down a line will be drawn from the current position to the point (x,y). T_MOVE (d) ---------- Move the "turtle" a distance of d units in the current direction. The default direction is to the right (0 degrees). If the pen is down a line will be drawn, otherwise the carriage will move without drawing. TURNTO (a) ---------- Make the turtle point to the direction of a (degrees). a may be between -32767..32767 and will be converted to 0..360 if not within 0..360. TURN (a) -------- Turn the turtle a degrees. I.e. Current direction = current direction + a. Have fun and enjoy! If you have any questions or suggestions, leave e-mail on CORE Z-NODE (614/864-2673) or PHOENIX PBBS (614/863-9611) and address it to TIM MEEKINS, or you can write to me direct: Tim Meekins 8372 Morris Rd. Hilliard, OH 43026 December 28, 1986.