home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / graphics / draw630.lbr / DIABLO.DQC / DIABLO.DOC
Text File  |  1986-12-07  |  4KB  |  100 lines

  1. DIABLO.LIB Version 1.20
  2.  
  3. Release 1
  4.  
  5.  
  6. This is a library to be included in Turbo Pascal programs. This program
  7. will allow you to use a Diablo 630 or compatible printer like a plotter.
  8.  
  9. As a version 1.20, the following subroutines are present:
  10.  
  11.  
  12. init_diablo                          Initialize printer for plotting. This
  13.                                      must be called before any other plotting
  14.                                      command is executed.
  15.  
  16. reset_diablo                         Used at the end of the program. If used
  17.                                      to start a new picture, it must again be
  18.                                      followed by init_diablo.
  19.  
  20. dot                                  plots a dot and updates current x
  21.  
  22. up                                   move up one pixel
  23.  
  24. down                                 move down one pixel
  25.  
  26. right                                move right one pixel
  27.  
  28. left                                 move left one pixel
  29.  
  30. move(x,y)                            move to position x,y
  31.  
  32. plot(x,y)                            plot a dot at x,y
  33.  
  34. draw(x1,y1,x2,y2)                    draw a line from x1,y1 to x2,y2
  35.  
  36. drawto(x,y)                          draw a line from current position to x,y
  37.  
  38. poly(x,y,rad,side)                   draw a polygon at x,y. rad is radius.
  39.                                      side is number of sides
  40.  
  41. circle(x,y,rad)                      draw a circle at x,y. rad is radius
  42.  
  43.  
  44. An 8 1/2" x 11" sheet of paper is approximately 500 pixels x 500 pixels.
  45. This is a very nice coincidence. Did the Diablo design team have this program
  46. in mind when they designed it?
  47.  
  48. Don't use metal printwheels or carbon ribbons. (Unless you're the type that
  49. uses $10 bills to start fires with)
  50.  
  51. The following programs are on this disk:
  52.  
  53. diablo.lib                 the library itself
  54. demo.pas                   a demo just to make sure it works.
  55. dragon.pas                 draws a dragon fractal curve
  56. snowflak.pas               draws a fractal snowflake
  57. nova.pas                   draws an interesting picture
  58. web.pas                    a string art program. Experiment with values.
  59. graftal.pas                A program for drawing plants. See Computer Language
  60.                            July 1986
  61. diablo.doc                 You're reading it now.
  62.  
  63.  
  64. Don't be to surprised if these demos are boring, slow, inefficient, etc.
  65. They were thrown together quickly for release 1 and should be used mainly
  66. to understand the operatrion of diablo.lib
  67.  
  68.  
  69. In the future, I will be releaseing (PD) .LBR files containing .LIB files
  70. for various other aspects of graphics. For example, 3-d drawings, text,
  71. anything else I run across). I will also release a DEMO.LBR file of some
  72. sorts containing graphics programs for use with diablo.lib and future .libs.
  73.  
  74. If you have suggestions or comments, leave me a message somewhere. I will
  75. appreciate any programs you write using these routines, and if acceptable
  76. I will add them to the DEMO.LBR (or whatever name I choose).
  77.  
  78. Sorry for the incredibly poor documention. I was tired of this program sitting
  79. around since April, and decided to hurry up and release it. It's got to be
  80. interesting to at least one person other than myself.
  81.  
  82. If anyone would send me a list of the functions in Borland's graphix toolbox
  83. for the IBM, I would appreciate it. I'm trying to write these functions to
  84. work with programs written for IBM graphics. It would be nice to get a file
  85. for the IBM, and simple insert the $i command and have it work.
  86.  
  87. Leave any messages at the following PBBSs:
  88.  
  89. CORE Z-NODE   614/864-2673
  90. PHOENIX       614/863-9611
  91. CLEARINGHOUSE 614/771-1147
  92.  
  93. Thanks.
  94.  
  95. Tim Meekins
  96. 8372 Morris Rd.
  97. Hilliard, OH 43026
  98.  
  99. August 1, 1986
  100.