home *** CD-ROM | disk | FTP | other *** search
/ MS DOS Archives 1 / MS-DOS_Archives_Volume_One_Walnut_Creek.iso / msdos / graphics / kd_doc.arc / KD-DOC.5-8 < prev    next >
Text File  |  1987-10-18  |  49KB  |  1,519 lines

  1.  
  2.  
  3.                           DRAWING TECHNIQUES
  4.  
  5.           Start out using the program by experimenting.   Try
  6.           using  the various functions and actions and noting
  7.           the results. With a little time and practice  using
  8.           the  program  becomes very fast and efficient.  For
  9.           major works take time to  plan  out  the  order  in
  10.           which  you will create the drawing. It is generally
  11.           best to start with the details, shrink  these  down
  12.           and combine them to produce the final drawing.
  13.  
  14.           If  you  want  the printed drawing to look like the
  15.           screen the reverse video action  should  be  chosen
  16.           from  <F1>  just  before  printing.  This is useful
  17.           showing things like planetoids.   The  black  back-
  18.           ground  is more natural. Mechanical drawings should
  19.           be printed out without reversing the screen so that
  20.           they correspond to the standard method of viewing.
  21.  
  22.           Since  many  of  the  actions  take place inside of
  23.           boxed areas it is advisable to create  parts  of  a
  24.           drawing  separately  and  then  combine them at the
  25.           end.  This can be accomplished by drawing the vari-
  26.           ous  components on different parts of the screen or
  27.           by using a screen for each component and  combining
  28.           screens using the copy action of <F7>.
  29.  
  30.           EXAMPLES:
  31.  
  32.           To  draw box: Move the cursor to one of the corners
  33.           of the box. Select desired color of box with <F10>.
  34.           Select  <F2>  and <r>ectangle to display the box as
  35.           it is drawn.  Move the cursor to form  the  box  as
  36.           desired.  Use  the <Shft-Cursor> keys to adjust the
  37.           start point of the box if needed.  Hit either <F2>,
  38.           <ENTER>,  or  <F1-F8> to complete function and draw
  39.           box. Respond <y> to the "Correct (y/n)?" prompt  to
  40.           keep  the box or <n> to return to the drawing as it
  41.           was.
  42.  
  43.  
  44.  
  45.  
  46.                                       DRAWING TECHNIQUES 5-1
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.           To  draw  a  circle: Move the cursor to the desired
  70.           center of the circle.  Select desired color of  the
  71.           circle  with  F8.   Select <F3> and <c> for circle.
  72.           Move the cursor  to  the  desired  radius  and  hit
  73.           either  <F3>, <ENTER>, or <F1-F8> to complete func-
  74.           tion and draw circle.  If the circle is  not  prop-
  75.           erly  centered  simply  hold  down  the <Shift> key
  76.           while using the cursor keys. Respond as desired  to
  77.           the "Correct (y/n)?" prompt.
  78.  
  79.           To draw a line: Move the cursor to the start of the
  80.           line. Select <F6> and <l>.  Move cursor to position
  81.           line  as  desired.  Use a <ENTER> or <F1-F8> <l> to
  82.           mark next point on line.  Continue  drawing  lines.
  83.           To  stop  momentarily  use  the <Space Bar>. If you
  84.           make an error <Back Space> can be use to erase  the
  85.           last  line  and  redraw  up  to where you are. Line
  86.           width can also be set using the <w>idth command  of
  87.           the  CURSOR  MODE and changed at will while drawing
  88.           the line. The color can also be varied as the  line
  89.           drawn and you can switch back and forth with <d>ot,
  90.           <p>arallel line,  and  <s>poked  line.   When  last
  91.           point of line has been marked, select F6 and either
  92.           <e> or <E> to end the line.  If <E> is  chosen  the
  93.           line  is not only drawn on the screen, but saved to
  94.           disk under user specified name. It can be retrieved
  95.           at  any  angle  and any scale using <F6 o>. Even if
  96.           you did not save the drawing to disk  it  is  still
  97.           available  for reuse, continuation or modification.
  98.           Select <F6 O> to redraw the last vector.
  99.  
  100.           To erase an area: Move the cursor to a position  at
  101.           one of the corners of the area to be erased. Select
  102.           <F7 e> to mark the  corner.   Move  the  cursor  to
  103.           enclose  the  desired area with the display box. As
  104.           with box the <Shft-cursor>  keys  can  be  used  to
  105.           modify the initial corner position.  Select <ENTER>
  106.           or <F1-F8> to mark the opposite corner. Copy  works
  107.           the same way.
  108.  
  109.  
  110.  
  111.  
  112.           DRAWING TECHNIQUES 5-2
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.           Creating  3-D looking spheres or planetoids is easy
  136.           using the spray paint feature of  <F4>.   Start  by
  137.           drawing  a  circle  of  desired size, next paint it
  138.           with <F5> as desired.  Move the cursor to  a  loca-
  139.           tion on the now painted circle and select <F4 s> to
  140.           spray paint one of the colors in the circle  or  if
  141.           you  prefer use <F4 Alt-s> to spray paint all fore-
  142.           ground colors.  Next move the cursor to one  corner
  143.           of  the  square  containing  the  circle and select
  144.           <ENTER> to mark  that  corner.   Next  enclose  the
  145.           circle  in  a  box  by moving the cursor and select
  146.           <ENTER> a third time to begin spray painting.  This
  147.           is a fun operation to use with the key macro since,
  148.           by varying the  cursor  speed  before  calling  the
  149.           macro will result in different size planetoids.
  150.  
  151.           Very   complex  and  interesting  patterns  can  be
  152.           created by copying and area and then moving off the
  153.           screen  with  <F7 a>nimate.  Try this with the file
  154.           KD-PTRN.PIC, which can be retrieved with <F7  o>ld.
  155.           When  you  obtain  a particular pattern you want to
  156.           use leave it on the screen with  <F7  M>  and  then
  157.           copy  it  again. Next move over the object you wish
  158.           to paint with this new color  pattern.  Select  <F7
  159.           Ctrl-m>  to  paint  the  object.  (Note  the object
  160.           should be in color 3 for best results.)
  161.  
  162.           3-D oblique drawings can be made quickly  from  2-D
  163.           drawings.  In  high resolution, draw a box with <F2
  164.           r>; copy the box with <F7 c>; set the cursor  speed
  165.           to  1; move one space to the left and one space up;
  166.           select <F7 s>; move alternately one step  left  and
  167.           one  step  up until cube is of desired size; select
  168.           <F7 M>; and the cube is complete.
  169.  
  170.           Schematics and flow charts can be  readily  created
  171.           from  predefined  symbol  libraries.  Creating your
  172.           own symbol libraries is easy and straight  forward.
  173.           For  objects that you want to bring in at different
  174.           sizes and angles the features of <F6> are ideal. As
  175.           an  illustration, lets consider creating symbols of
  176.           furniture to use in laying out an office.  Start by
  177.  
  178.                                       DRAWING TECHNIQUES 5-3
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.           setting the scale of the screen so that the  furni-
  202.           ture  will nearly fill the screen when drawn to get
  203.           the maximum resolution.  Move to 0,0 with  <Alt-1>,
  204.           select  <F6  l, d, p, s> to start drawing the item.
  205.           When you have completed drawing the item select <F6
  206.           E>  to  end  line  drawing save the vector image to
  207.           disk.  Give the item an appropriate name and go  to
  208.           the  next  item.   When you are working on the room
  209.           layout simply call up the required object from disk
  210.           using  <F6  o>,  rotate it if desired, and place it
  211.           where you want.
  212.  
  213.           Special effects can be created by setting the back-
  214.           ground attribute to something other then the actual
  215.           background.  Try setting the background with <B> to
  216.           <1>.   Now  draw  a box or circle or line. Note how
  217.           the object is left behind as you move  the  cursor.
  218.           When   you  hit  the  <ENTER>  key  the  screen  is
  219.           refreshed and then the final  box/circle/  line  is
  220.           drawn,  but sometimes it is desirable to use <B> to
  221.           create patterns and other effects much quicker than
  222.           otherwise  possible.  At  any time you wish to pre-
  223.           serve what the screen shows, select <k>eep  and  it
  224.           will be saved.
  225.  
  226.           16 Colors: If you have a composite color monitor or
  227.           TV set you can obtain sixteen colors instead of the
  228.           normal  4  available in RGB.  Set the color palette
  229.           to the second palette where  color  1=Green,  color
  230.           2=Red  and  color  3=Yellow.   Draw  several boxes,
  231.           circles, or polygons on the screen.  Move the  cur-
  232.           sor  to  within  one  of the figures and select <F5
  233.           Alt-p>aint.  A color bar  will  appear  showing  16
  234.           color  choice,  but  these  won't  look that great.
  235.           Select a </> and the colors change to 16  distinct,
  236.           vibrant  colors on a composite monitor.  Select the
  237.           number you desire and specify the color of the fig-
  238.           ure  and wholla the object is painted.  Most of the
  239.           other drawing functions  only  recognize  the  four
  240.           primary  colors  so  some  care  must be taken when
  241.           creating a composite picture.
  242.  
  243.  
  244.           DRAWING TECHNIQUES 5-4
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.           Macros included with PC-KEY-DRAW can  be  an  ideal
  268.           method  of  learning  how  to  use the program.  By
  269.           watching the macros you can get a feel for what can
  270.           be  done.  By reading the macro files you can learn
  271.           the exact key strokes required to  create  a  given
  272.           effect.   See  the  following  section  on  editing
  273.           macros for more information.  The macros should  be
  274.           translated  to  TeXT  form for improved readability
  275.           and printed out.  Try entering the key  strokes  as
  276.           they  are  and  see  what  happens.  Note that some
  277.           macros start with a lot  of  initialization,  while
  278.           others get right down to drawing.
  279.  
  280.           Several  things  can be done to slow macros down so
  281.           that what is happening is more visible.  Try  turn-
  282.           ing  on  the  Help  menu  by setting the program to
  283.           Novice mode in the  <Ctrl-s>tatus  screen.   Remove
  284.           the *|2 or *|1 line in the macro so that the cursor
  285.           and prompt are shown when the macro is  run.   This
  286.           makes  it  run  a  lot  slower.   You  can even add
  287.           <Alt-p>ause commands at various places in  a  macro
  288.           so that it stops for awhile before proceeding.
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.                                       DRAWING TECHNIQUES 5-5
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.                                KEY MACRO
  334.  
  335.           Perhaps one of the most powerful functions  of  PC-
  336.           KEY-DRAW  is  the key macro command, because it has
  337.           so many  different  uses.   I  have  yet  to  fully
  338.           explore  all of the uses of the key macro, but they
  339.           include  saving  entire  drawings,  creating  slide
  340.           shows,  saving  commonly used routines/figures, and
  341.           performing repetitive operations.   The  key  macro
  342.           command  works  by recording all of the key strokes
  343.           you make and saving them to disk  in  a  sequential
  344.           ASCII  file.   The  program keeps track of the same
  345.           key being  hit  a  multiple  number  of  times  and
  346.           records  not  only the key, but its repetition num-
  347.           ber.  Key macro files can be very small  and  still
  348.           do quite a lot.
  349.  
  350.           Saving Entire Drawings: PC-KEY-DRAW provides numer-
  351.           ous ways to save  a  drawing,  which  way  you  use
  352.           depends  on  a  variety  of factors.  The key macro
  353.           offers a way to save a drawing that is rather  dif-
  354.           ferent  from the rest, because, instead of saving a
  355.           completed drawing, you  are  saving  the  steps  to
  356.           create that drawing.  When the key macro is used to
  357.           save a drawing it should start by properly initial-
  358.           izing  the  program, so that each time it is called
  359.           the result will be the same. After selecting create
  360.           macro  with <Alt-k c> and naming it, initialize the
  361.           program.  Initialization should start with refresh-
  362.           ing  the  screen with <F8 f>, setting the cursor to
  363.           0,0 with <Alt-1>, setting the cursor speed  to  one
  364.           with  <Shft-F9>,  and  setting  the color to 1 with
  365.           <Shft-F10>.  Then proceed to  create  the  drawing.
  366.           When  the  drawing  is  complete, end the key macro
  367.           with <Alt-k e>.  The drawing can  then  be  redrawn
  368.           with  <Alt-k  r>  and the macro name. IRIS2.MCR (on
  369.           Library Disk #2) is an excellent example of  saving
  370.           an entire drawing.
  371.  
  372.  
  373.  
  374.  
  375.  
  376.                                                KEY MACRO 6-1
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.           Slide Shows: Very interesting slide  shows  can  be
  400.           created quickly and easily using the key macro com-
  401.           mand. The complete drawing capability is avail-able
  402.           to  be  used  in  the  slide  show. Slide shows are
  403.           created simply by starting the macro and then  per-
  404.           forming the desired steps.  This might be as simple
  405.           as calling up a series of already  completed  draw-
  406.           ings and pausing in between them or may include the
  407.           actual creation of the drawing as part of the show.
  408.           The  DEMO.BAT  (formally  SAMPLE) macro included on
  409.           the program diskette was created simply by  drawing
  410.           what  I  wanted.   As with the saving of a drawing,
  411.           slide shows should be initialized for best results.
  412.           Portions of a slide show can be done separately and
  413.           then combined by linking or  merging.   Linking  is
  414.           performed by calling the next sequence from the end
  415.           of the first.  In this way slide shows can be  very
  416.           long or continuous. Merging is accomplished using a
  417.           word processor and actually combining files.   (See
  418.           Editing Macros.)
  419.  
  420.           The  <*>  command is useful for slide shows and you
  421.           may want to include it as part of  the  initializa-
  422.           tion.  Normally the prompts for the program will be
  423.           displayed as a macro is run, but by using a  single
  424.           <*>  at  the  beginning  of the command all printed
  425.           prompts can be suppressed. This not  only  improves
  426.           the  appearance  of  the slide show, but it greatly
  427.           speeds the execution time. Entering <*> twice  will
  428.           stop  printing of prompts and will hide the cursor.
  429.           From a text editor put the following  to  stop  the
  430.           prompts:
  431.  
  432.               *|1
  433.  
  434.           or  use  the following to stop the prompts and hide
  435.           the cursor:
  436.  
  437.               *|2
  438.  
  439.  
  440.  
  441.  
  442.           KEY MACRO 6-2
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.           Saving  Commonly  Used  Routines/Figures:   Certain
  466.           operations  can  be  saved for later use in another
  467.           drawing. These saved operations can be called  from
  468.           disk  as  needed  to perform the required task, and
  469.           save having to manually do  the  task.   Generally,
  470.           routines  should include minimal initialization for
  471.           the maximum flexibility.  Various figures that  are
  472.           commonly  used can also be saved with the key macro
  473.           command, as they will probably  require  less  disk
  474.           space  then if saved with one of the other methods.
  475.           The penalty for doing so is the  time  required  to
  476.           create the figure on the screen will be longer than
  477.           that required to simply call the completed  drawing
  478.           from  disk. However, for saving border patterns and
  479.           the like, the key macro command is ideal.
  480.  
  481.           Repetitive Operations: Key macros can  be  used  to
  482.           automate  certain  repetitive  actions and save you
  483.           significant time.  An example of such is the creat-
  484.           ing  of concentric circles or ellipses using all of
  485.           the available colors. Try the following:
  486.           1. Locate the cursor in the center of the screen.
  487.           2. Set the cursor speed to 1 and the color to one.
  488.           3. Start the key macro with the name CIRCLE.
  489.           4. Draw a circle of radius one pixel.
  490.           5. End the circle and confirm that it is correct.
  491.           6. Move the cursor to  the  center  of  the  circle
  492.              using <C>.
  493.           7. Step the cursor speed up one using the <+> key.
  494.           8. Step the color up one using the <F10> key.
  495.           9.  Select  <Alt-k>  and  run the macro CIRCLE from
  496.              itself.
  497.  
  498.           At this point  the  program  should  start  drawing
  499.           circle  after  circle,  each  time incrementing the
  500.           color and the size by one. To stop  the  macro  use
  501.           <Esc>.  Try  some  other short drawings and linking
  502.           them to themselves.
  503.  
  504.  
  505.  
  506.  
  507.  
  508.                                                KEY MACRO 6-3
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.           Configuration: While PC-KEY-DRAW provides a config-
  532.           uration screen, it  does  not  remember  everything
  533.           that  you may want it to remember the next time you
  534.           run the program.  A simple solution is to create  a
  535.           key macro that does the desired configuration, such
  536.           as adjusting the screen.  Version 3.1 allows macros
  537.           to  be  called from DOS when the program is called,
  538.           by simply entering the name of  the  macro  on  the
  539.           command  line after the program name, followed by a
  540.           space.
  541.  
  542.           Editing Macros: The editing of macros created  from
  543.           version 3 is limited to using a word processor. The
  544.           file is straight ASCII, but beware  that  what  may
  545.           look  like  a  common space CHR$(32) is actually an
  546.           ASCII zero CHR$(0).  Also beware that cursor  posi-
  547.           tion is relative, not absolute.  The use of a back-
  548.           ground editor, such as Sidekick, can  be  of  great
  549.           benefit,  since  it  can be called up while you are
  550.           working in PC-KEY-DRAW.  Be sure that the  particu-
  551.           lar background program you are using works when the
  552.           screen is in a graphics mode!
  553.  
  554.           The macro files are set up so that each line  is  a
  555.           command  followed by a separator (|) and the number
  556.           of repetitions.  The  command  is  the  actual  key
  557.           stroke  code.   While  MaCRo  files  can  be edited
  558.           directly it is easier to first convert them to TeXT
  559.           files using KD-TRANS.EXE.
  560.  
  561.           Since errors you may make are recorded you may want
  562.           to edit them out of a slide show. This can be  done
  563.           easily  to the ASCII file by removing only the com-
  564.           mands and not the cursor movement that may occur as
  565.           part of the command.
  566.  
  567.           One  of  the most common editing method will be the
  568.           merging of files together to create one  big  file.
  569.           When  merging  files  care  must be taken to ensure
  570.           that all parameters are set to the value needed  by
  571.           consecutive  parts  of  the macro.  For example the
  572.           cursor position at the start of a macro will deter-
  573.  
  574.           KEY MACRO 6-4
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.           mine the actual end result.
  598.  
  599.           One  handy feature of a key macro is the ability to
  600.           call a second macro at the end of the first, allow-
  601.           ing  unlimited  macros  to be chained together when
  602.           run, but reside separately on disk.  To avoid  hav-
  603.           ing  to  edit  the macro, work in reverse, starting
  604.           with the last section first and be sure  that  each
  605.           macro includes its own initialization.
  606.  
  607.           Macro  files contain the key strokes used, followed
  608.           by a separator (|) and a  number  to  indicate  the
  609.           number  of  times the key was hit in a row.  If the
  610.           key was a command it will only  appear  once  while
  611.           something  like a cursor movement key may have been
  612.           hit many times in a row.  Text can be  added  after
  613.           the  repeat  number  for  the  purpose  of  placing
  614.           remarks in a macro.  This is especially  convenient
  615.           for  including  notes  to  others on what the macro
  616.           does and how to use it.  The following is  a  short
  617.           example  of what a macro file would look like after
  618.           being translated with KD-TRANS.EXE to a TeXT file:
  619.  
  620.           SHFT-F10  |1     Force Color to Color 1
  621.           SHFT-F9   |1     Force Cursor Speed to 1
  622.           +         |4     Add four to the Cursor Speed
  623.           F2        |1     Select Function 2 Rectangles
  624.           p         |1     Select polygon
  625.           5         |1     5 sided
  626.           RIGHT     |9     Move to the right 9 times
  627.           [         |3     Rotate the polygon
  628.           F9        |1     Drop speed to 1
  629.           [         |1     Rotate the polygon
  630.           ENTER     |2     End polygon and indicate correct.
  631.           F9        |1     Toggle speed back to 5
  632.           LEFT      |5     Move into polygon
  633.           F5        |1     Select F5 Paint & Pattern
  634.           ALT-P     |1     Select Alternate paint
  635.           8         |1     Choose Color 8 for fill
  636.           1         |1     Choose Color 1 for border
  637.           ENTER     |1     Confirm correct.
  638.           ALT-K     |1     Select Key Macro
  639.  
  640.                                                KEY MACRO 6-5
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.           e         |1     End
  664.  
  665.           You  can  duplicate the above by simply entering in
  666.           the above keys the number of times indicated.   The
  667.           remarks  to  the  right of the repeat number should
  668.           not be entered.  Note that KD-TRANS expects the key
  669.           stroke name to be exactly 10 characters and spaces.
  670.  
  671.           DOS  and  Macros:  Macros can be called from DOS as
  672.           follows:
  673.  
  674.               KD-DRAW FILENAME
  675.  
  676.           where FILENAME is the name of the macro file to  be
  677.           called  once KD-DRAW is loaded.  A MCR extension is
  678.           assumed.  If another extension is used it  must  be
  679.           specified  or  will  not be found.  This capability
  680.           allows the for slide shows to  be  run  by  a  user
  681.           knowing  nothing about PC-KEY-DRAW or allows set-up
  682.           routines to be run to customize PC-KEY-DRAW to your
  683.           particular application.
  684.  
  685.           Macros can be called from BATch files or macros can
  686.           be DOS BATch files.  It is  possible  to  create  a
  687.           macro  that  is both a BATch file and a PC-KEY-DRAW
  688.           macro.  This allows for lots of possibilities  with
  689.           a  minimum  of  extra  files on the disk.  Some can
  690.           must be taken in setting up BATch file MaCRo combi-
  691.           nations.   Use the samples on the program disk as a
  692.           guide.  Basically the BATch file is the first  part
  693.           and the MaCRo the second.  Since no action is taken
  694.           in a macro file until the separator (|) is  located
  695.           the BATch file is ignored by the macro.
  696.  
  697.           Run  Time Mode:  Starting with version 3.24 PC-KEY-
  698.           DRAW can be set to work in a Run Time Mode, so that
  699.           the  end  user  can view and run macros without any
  700.           knowledge of PC-KEY-DRAW.  To turn PC-KEY-DRAW into
  701.           the  run  time  mode  simply  remove  or rename KD-
  702.           DRAW.HLP.  When KD-DRAW is called if  it  does  not
  703.           find  KD-DRAW.HLP it only allows a macro to be run.
  704.           In normal operation  when  a  macro  is  exited  by
  705.  
  706.           KEY MACRO 6-6
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.           <Esc>, normal end of the macro, or an error control
  730.           returns to the CURSOR MODE.  In  a  run  time  mode
  731.           when the macro is exited control returns to DOS. If
  732.           KD-DRAW.DFT is  not  found  the  default  drive  is
  733.           assumed to contain everything required by the macro
  734.           to run unless a drive is specified in  calling  the
  735.           desired  macro, in which case that drive is assumed
  736.           to contained the primary files needed by the macro.
  737.           There  are  no restrictions to distributing PC-KEY-
  738.           DRAW as a Run Time program, ie. without KD-DRAW.HLP
  739.           and KD-DRAW.80C, except if a charge for the disk is
  740.           made.  If you wish to charge for a Run Time version
  741.           of  PC-KEY-DRAW you must have prior written permis-
  742.           sion.
  743.  
  744.           Hot Keys:  27 keys can be  assigned  a  macro  file
  745.           name so that when the key is struck the appropriate
  746.           macro file is run immediately.  The  Hot  keys  are
  747.           the following:
  748.  
  749.                 <Shft-F1 to F8>
  750.                 <Ctrl-F1 to F10>
  751.                 <Alt-F1 to F9>
  752.  
  753.           If  KD-DRAW.HOT  is found on the program disk or in
  754.           the program directory on the hard disk the Hot keys
  755.           are activated.  KD-DRAW.HOT contains the listing of
  756.           the key macro files that correspond to  the  appro-
  757.           priate  function  keys.   KD-DRAW.HOT can be edited
  758.           with any  text  editor  that  produces  pure  ASCII
  759.           files.
  760.  
  761.           There  are  two  primary applications for Hot keys.
  762.           The first is to assign commonly  used  routines  so
  763.           that  they  can  be called up quickly as needed.  A
  764.           number of such routines  are  supplied  on  library
  765.           disk #2 and #3.  For example BOLD.MCR produces bold
  766.           faced text  from  any  text  brought  in  with  <F6
  767.           Ctrl-t>  or  <F6 Alt-t>.  The second use of the Hot
  768.           keys is for creating a tutorial using the  function
  769.           keys with an on screen menu.
  770.  
  771.  
  772.                                                KEY MACRO 6-7
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.           Supplied Macros:  Numerous macros are supplied with
  796.           PC-KEY-DRAW.   Some  are  for  demonstration of the
  797.           programs capability,  some  are  more  entertaining
  798.           then  anything  else,  while others perform various
  799.           routines that are of use to a  serious  PC-KEY-DRAW
  800.           user.   The following discusses several of the more
  801.           significant macros.  Most of  the  supplied  macros
  802.           have  remarks  that can be read using a text editor
  803.           or simply TYPE from DOS to  show  instructions  for
  804.           the  macro.   Use <Alt-1> <F6 T a> from PC-KEY-DRAW
  805.           to read the macro remarks  before  running  it.  Be
  806.           sure  to  answer  <n>o when asked if correct or the
  807.           text will become part of your  drawing.   It  is  a
  808.           good  idea  to  add  remarks to any macros that you
  809.           write.  In particular you should  provide  informa-
  810.           tion  as to any premacro operations that are needed
  811.           for successful operation of the macro.  Remarks can
  812.           be added with a text editor.
  813.  
  814.           Sample  Demo: A sample demo is included on the pro-
  815.           gram disk.  It was created in several sections  and
  816.           then  edited  together.   Note that the prompt line
  817.           has been turned off for most  of  the  demo  for  a
  818.           cleaner  look and faster execution.  DEMO.BAT (for-
  819.           mally SAMPLE.MCR) may stop at  several  points  and
  820.           wait for input from the keyboard before continuing.
  821.           A short line is displayed in the bottom right  cor-
  822.           ner  when the macro is waiting for user input.  The
  823.           <Alt-p> command could also be used  when  you  want
  824.           the  macro  to  suspend  operation  for a specified
  825.           length of time.  DEMO.BAT is both the Batch file and
  826.           the macro.
  827.  
  828.           Slide Show Demo: A demo slide show is included with
  829.           the numerous screens and pictures on  Library  Disk
  830.           #1.   SCNSHOW.MCR  is a macro that calls previously
  831.           created screens and partial screens using a variety
  832.           of display techniques.  This method of operation is
  833.           similar to other Slide Show programs, but far  more
  834.           powerful.
  835.  
  836.  
  837.  
  838.           KEY MACRO 6-8
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.           Drawing  Demo:  Library  Disk #2 contains the macro
  862.           IRIS2.MCR that creates a drawing of  an  iris  from
  863.           scratch.   You  can watch the moves that the artist
  864.           made  to  construct  the  drawing.   Mistakes   and
  865.           changes  of mind have been left in to show the pro-
  866.           cess behind the picture.  The completed picture  is
  867.           contained  in  IRIS3.SCN.  My wife Brenda drew this
  868.           picture with minimal help from me.  As I said,  she
  869.           is  an  artist  and  it  is  very  clear seeing the
  870.           results of IRIS2.MCR.   IRIS2  took  4  hours  from
  871.           start  to finish to create and then edit the macro.
  872.           In that 4 hours she stopped and we ate dinner.
  873.  
  874.           Routines: Library Disk #2 contains  several  useful
  875.           routines.   Two  of the most useful are OVERLAY.MCR
  876.           and OVERLAY2.MCR.  Both take  an  object  currently
  877.           being  animated and through a series of steps over-
  878.           lay the object onto the background. Which  one  you
  879.           use  depends  on the object that is to be overlaid.
  880.           OVERLAY will leave a dark outline around the object
  881.           which is ideal for many, but not all objects. OVER-
  882.           LAY2 does not leave the outline  and  is  therefore
  883.           better for certain objects.  Both macros were writ-
  884.           ten to make use of Screen 2 and Screen F7 as  work-
  885.           spaces,  so anything in these screens when you call
  886.           the macro will be lost.  It would be easy to  write
  887.           a  macro  that  does not use Screen 2, but uses the
  888.           disk for temporary storage instead.
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.                                                KEY MACRO 6-9
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.                            PAGES AND LAYERS
  928.  
  929.           PC-KEY-DRAW version 3 allows you the option to draw
  930.           using up to 64 pages or 64 layers.  The two  cannot
  931.           be  used  at  the  same time.  Pages and layers are
  932.           saved on the workspace disk, which can either be  a
  933.           RAM  disk,  hard  disk,  or  floppy.  To use all 64
  934.           pages/layers about 1.2 megs of memory is  required.
  935.           In  addition to use more than about 20 pages/layers
  936.           you must set up a subdirectory for  the  workspace.
  937.           See your DOS manual for information on creating and
  938.           using subdirectories.
  939.  
  940.           Screens:  There  are  four  screens  available  for
  941.           creating drawings.  Generally you will use SCreen 1
  942.           or SCreen 2 as the main drawing screen.   You  must
  943.           be in SCreen 1 to access the pages.  The other main
  944.           screen is generally used as a  temporary  workspace
  945.           or  for  holding symbols, shapes, patterns that you
  946.           need to access quickly and repeatedly. If  you  are
  947.           using  layers SCreen 2 becomes the visual layer and
  948.           SCreen 1 is the active layer.
  949.  
  950.           Screen 3 is called F7 and it shows that last object
  951.           copied, erased, animated, etc.  Most of the drawing
  952.           functions can be used  in  F7,  although  some  may
  953.           behave  differently.   F7 is an ideal screen to use
  954.           to modify something that  was  just  copied  before
  955.           placing  it  on  the drawing. For example to change
  956.           the color of a FONT before placing it on one of the
  957.           main  screens.   <F8 o>ld, <F8 O>ld sequential, and
  958.           <F8 s>ave work differently in screen  F7.   Instead
  959.           of  manipulating  full  screens the partial screens
  960.           normally associated with the F7 key  are  retrieved
  961.           or  saved.  This makes <F8 O>ld sequential particu-
  962.           larly useful since it lets you browse  through  the
  963.           partial screens as you normally would with the full
  964.           screens.
  965.  
  966.           The final screen is very limited and  contains  the
  967.           25th line of the main screens.
  968.  
  969.  
  970.                                           PAGES & LAYERS 7-1
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.           Screens are different from pages in several  impor-
  994.           tant  ways,  but  perhaps  the  most significant is
  995.           where they are stored.  Screens are  stored  within
  996.           the  192K the program uses, while pages, other then
  997.           the current page, are stored on the workspace disk.
  998.           For fast access use a RAM disk for the workspace.
  999.  
  1000.           Pages can be used when you want to create a picture
  1001.           that is larger than can be reasonably  accommodated
  1002.           on  a  single  screen.   This might be a large flow
  1003.           chart, mechanical drawing, or just a big  painting.
  1004.           Basically  the  pages  are  arranged on an 8X8 grid
  1005.           although they can be used as 64 vertical  pages  if
  1006.           desired.   It  is  possible  to  scroll by 1/2 page
  1007.           either horizontally or vertically. To use pages you
  1008.           must  be  in  SCreen  1.  Portions of a page can be
  1009.           readily transferred between other pages  using  the
  1010.           <F7  c>opy function. Pages must be saved separately
  1011.           to disk.  While in page mode the cursor  line  will
  1012.           show SC1 PG00 when in SCreen 1 & page 00.
  1013.  
  1014.           To  scroll from one page to another use <Ctrl-Home>
  1015.           to display current position and then use the  arrow
  1016.           cursor  keys  to scroll/pan in the direction of the
  1017.           arrow by one half screen.  Use <PgUp> or <PgDn>  to
  1018.           move  a full page at a time.  <Home> returns you to
  1019.           page 00 and <End> takes you  to  the  maximum  page
  1020.           that  has been created.  When scrolling the current
  1021.           screen is saved to the workspace disk, if  anything
  1022.           has  been  added,  and the disk is searched for the
  1023.           existence of the page you are moving  to.   If  the
  1024.           page  was previously created it is shown, otherwise
  1025.           a blank page is shown. Selecting <Ctrl-Home>  twice
  1026.           displays  page  00  without saving the page you are
  1027.           currently on.
  1028.  
  1029.           Ultimately the  ability  to  use  multiple  screens
  1030.           should  allow  some very detailed printed output on
  1031.           laser printers.   Consider  drawing  on  just  four
  1032.           pages  then  printing  them  out  side by side on a
  1033.           laser printer for a 1280X400 dot resolution picture
  1034.           from  a  standard graphics card.  This is an area I
  1035.  
  1036.           PAGES & LAYERS 7-2
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.           hope to be looking at for the next major update.
  1060.  
  1061.           Layers or overlays are very  powerful  and  useful.
  1062.           Think of them as drawing on several layers of clear
  1063.           plastic. Only the active layer is effected  by  the
  1064.           various  functions.  The other layers can be visual
  1065.           as desired. To use layers you must be in  screen  1
  1066.           as  it  is  the active screen. Screen 2 becomes the
  1067.           visual screen and holds copies of all  layers  that
  1068.           are  visual.   To use correctly start with SCreen 2
  1069.           being clear.  Draw the first portion of the graphic
  1070.           on SCreen 1 and then declare a layer with <Ctrl-l>.
  1071.           This transfers SCreen 1 to SCreen 2,  saves  it  to
  1072.           disk  and  clears SCreen 1. With SCreen 2 now being
  1073.           overlaid with SCreen 1 the drawing  will  initially
  1074.           look  the same. Continue drawing and as appropriate
  1075.           declare the next layer and so on.  There  are  many
  1076.           uses to layers and many ways that they can be used.
  1077.           Proper use of layers can greatly speed the creation
  1078.           of complex drawings.  As with pages, if you want to
  1079.           save the various layers you must do so  separately.
  1080.           When layers are activated the prompt line will show
  1081.           SC1L0* when in SCreen 1 and layer 0.  The  *  indi-
  1082.           cates that not only are layers active, but that the
  1083.           visual layer is currently being  shown  along  with
  1084.           the  active  layer.  If the prompt line reads SC1L3
  1085.           it means that you are in SCreen 1, Layer 3 and only
  1086.           the active layer is being shown.
  1087.  
  1088.           A simpler way of using the layer feature is to load
  1089.           a pattern screen into  SCreen  2.   For  example  a
  1090.           screen containing perspective lines might be put in
  1091.           SCreen 2 as the visual layer.  Switch to  SCreen  1
  1092.           and  activate  layer  with an <l>, causing the per-
  1093.           spective screen to be shown.  Create  your  drawing
  1094.           using the perspective screen for guidance.
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.                                           PAGES & LAYERS 7-3
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.           Another use for layers is to load a complex  object
  1126.           as  the  visual  layer  and use the active layer to
  1127.           trace the visual layer and save it in a vector for-
  1128.           mat.
  1129.  
  1130.           Saving  Pages/Layers: As noted the layers and pages
  1131.           must be saved separately from within  the  program.
  1132.           An  alternate  method of saving layers/pages can be
  1133.           accomplished from DOS.  After completing the  vari-
  1134.           ous  pages  exit  the program to DOS.  If the work-
  1135.           space drive is the same as the drive you save draw-
  1136.           ings on then use the following command in DOS after
  1137.           switching to the workspace drive:
  1138.  
  1139.               REN PAGE.* FILE.*
  1140.  
  1141.           where FILE is the name that you want  the  file  to
  1142.           have.  To  recall the file at a later data you must
  1143.           first rename it as follows:
  1144.  
  1145.               REN FILE.* PAGE.*
  1146.  
  1147.           Run the program and  select  <Ctrl-Home>  twice  to
  1148.           restore the first page.
  1149.  
  1150.           If  you  use  a  RAM  disk  for  a workspace then a
  1151.           slightly different procedure is needed to save  the
  1152.           drawings  from  DOS.  Instead of RENaming the files
  1153.           COPY them to the desired disk (X:) as follows:
  1154.  
  1155.               COPY PAGE.* X:FILE.*
  1156.  
  1157.           And to retrieve the files use:
  1158.  
  1159.               COPY X:FILE.* PAGE.*
  1160.  
  1161.           Enter the program  and  retrieve  the  files  using
  1162.           <Ctrl-Home> twice.
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.           PAGES & LAYERS 7-4
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.           Compressed Saves: A modification of the above tech-
  1192.           nique can be used to not only  save  the  pages  or
  1193.           layers,  but to compress them and combine them into
  1194.           a single file. Several programs are available  such
  1195.           as  ARC  and  LUE/LUU that can compress and library
  1196.           files.  The graphics screens can  be  significantly
  1197.           compressed and by combining them into one file they
  1198.           can more easily be kept track  of.   Which  library
  1199.           program  you use is up to you, but a faster one has
  1200.           some advantage over  an  more  efficient  one.   By
  1201.           writing  the  appropriate macro-batch file combina-
  1202.           tion the entire operation can be  operated  to  the
  1203.           point  where  the user has little knowledge of what
  1204.           actually takes place.
  1205.  
  1206.  
  1207.                               ! REMEMBER!
  1208.  
  1209.           <F8 s>ave will save only the screen you are in  and
  1210.           not  the  pages  and layers.  Refer to the previous
  1211.           discussion for information on how to save pages and
  1212.           layers.
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.                                           PAGES & LAYERS 7-5
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.                                LIBRARIES
  1258.  
  1259.           PC-KEY-DRAW provides 6 methods of saving  libraries
  1260.           of commonly used pictures, screens, fonts, vectors,
  1261.           macros, and patterns.  Line drawings can  be  saved
  1262.           as  vectors for later recall at any angle and scale
  1263.           using F6. Portions of the screen can  be  saved  as
  1264.           bitmapped  images  under  F7.  Fonts can be created
  1265.           and then saved using F7  as  can  patterns.  Entire
  1266.           screens  are saved with F8, while key macros can be
  1267.           created for a wide variety  of  uses.   PC-KEY-DRAW
  1268.           can also save files as a BASICA subroutine.
  1269.  
  1270.           Vector  Saves  are  ideal for creating objects that
  1271.           need to be retrieved at different angles and sizes.
  1272.           Possible  uses  include electrical schematics, flow
  1273.           charts, architectural symbols and more.  Each  ele-
  1274.           ment  is  saved  with  its  own name providing easy
  1275.           recall of the elements by name. Artists  could  use
  1276.           this  to  create  special  brush patterns/shapes to
  1277.           paint with. VCT is  the  default  extension.   Cur-
  1278.           rently  the  only objects that can be saved as vec-
  1279.           tors are those created entirely from  lines,  dots,
  1280.           parallel lines, or spoke lines.  On ending the line
  1281.           drawing with <F6 E>nd the vector can be  named  and
  1282.           saved  to  disk  for later use.  A vector file con-
  1283.           tains the x and y coordinates of the  object  along
  1284.           with   color  and  width  information.   Previously
  1285.           created vector files can be loaded with  <F6  o>ld.
  1286.           The  scale factor is matched to that of the drawing
  1287.           unless forced  to  something  else.   The  rotation
  1288.           angle can also be set.
  1289.  
  1290.           Picture  Saves  are used for complex objects.  They
  1291.           are ideal for animation and a whole lot more.   One
  1292.           use  is  to create small patterns to use as brushes
  1293.           for painting with, but a more common use is to save
  1294.           parts of the screen for use in other drawings.  <F7
  1295.           C>opy & save is used  to  copy  an  area  from  the
  1296.           screen and save it to disk.  PICtures are ideal for
  1297.           animation. PIC is the  default  extension.   A  FIG
  1298.           extension  can  be  specified  which results in the
  1299.  
  1300.                                                LIBRARIES 8-1
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.           file being saved as a series of ASCII numbers.  The
  1324.           files can be retrieved with <F7 o>ld or <F7 O>ld  &
  1325.           place.   <F7  o>ld  brings  the file in to animate,
  1326.           while <F7 O> places it directly on the screen.   To
  1327.           view all of the PIC files on the drawing disk, move
  1328.           to the F7 Screen, select <F8 O>ld,  and  the  files
  1329.           will  be  brought in one at a time and displayed in
  1330.           the upper left corner of the screen.
  1331.  
  1332.           Font Saves provide a method of  saving  small  com-
  1333.           monly  used portions of a screen, such as text, but
  1334.           not limited to text.  The portions  of  the  screen
  1335.           are  created  individually and saved under a common
  1336.           file.  They are retrieved with <F6 Alt-t> based  on
  1337.           the letter assigned to each picture when saved. FNT
  1338.           is the default extension.  To save a character  use
  1339.           <F7  C>opy and name the file with an FNT extension.
  1340.           You will be prompted for the character that  corre-
  1341.           sponds  to the one just copied.  To ensure that the
  1342.           characters line up properly be sure to  be  consis-
  1343.           tent with the location of the top of the character.
  1344.           To modify  the  default  letter  and  word  spacing
  1345.           select  <Space Bar> when prompted for the character
  1346.           and enter the desired size in pixels.  TYPEMAKE.MCR
  1347.           (on  Library  Disk  #3)  creates an unusual looking
  1348.           text font from the primary text fonts.  The created
  1349.           font  is  readily available as KD-FONT3.FNT, but it
  1350.           is interesting to watch as it is  created.   Direc-
  1351.           tions for TYPEMAKE.MCR are contained in the file.
  1352.  
  1353.           Screen  Saves  can  be  used as a library by saving
  1354.           multiple pictures on one screen and  then  recalled
  1355.           using  template of F8. This lets you group commonly
  1356.           used pictures under  one  name  and  uses  them  as
  1357.           desired.  Generally saving complete screens will be
  1358.           the most commonly used storage method.  SCN is  the
  1359.           default  extension.   SCN files can be view sequen-
  1360.           tially for either screen 1 or screen 2 by selecting
  1361.           <F8 O>ld.
  1362.  
  1363.  
  1364.  
  1365.  
  1366.           LIBRARIES 8-2
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.           Pattern  Saves are in the same basic format as Pic-
  1390.           ture Saves, only arranged as 40  X  23  blocks  for
  1391.           retrieval  using  the  pattern fill function of F5.
  1392.           Actually any PIC file can  be  used  as  a  pattern
  1393.           file. Pattern files can be used for simple painting
  1394.           or definitive patterns  used  for  architecture  or
  1395.           cartography  can be created.  64 different patterns
  1396.           can be saved in one file. The  <F1  Ctrl-z>  screen
  1397.           size  is identical to the pattern size.  PIC is the
  1398.           default extension.  PATMAKE.MCR  (on  Library  Disk
  1399.           #2)  will create a blank pattern screen with a grid
  1400.           of 64 blocks that can be replaced with the patterns
  1401.           you are creating.
  1402.  
  1403.           Macro  Saves  have many, many uses.  See section on
  1404.           KEY MACRO for details as to macro use.  MCR is  the
  1405.           default extension.
  1406.  
  1407.           BASICA  Saves are accomplished in much the same way
  1408.           as Picture or pattern saves using  <F7  C>,  except
  1409.           that when a BAS extension is added to the file name
  1410.           the file is saved  as  a  subroutine  that  can  be
  1411.           merged  into a BASICA program that you are writing.
  1412.           The file will always start a line number  20000  so
  1413.           you  will  have  to RENUMber before merging several
  1414.           together.  The subroutine created can be called and
  1415.           will  load an array with the data so that the array
  1416.           can be put on the screen using the PUT  command  of
  1417.           basic.   This  is  ideal  for  writing games or for
  1418.           writing programs with graphical interfaces.  PUT is
  1419.           an  ideal  way  to get simple animation in a BASICA
  1420.           program. Any of the files on the library disks  can
  1421.           be  turned into BASIC subroutines.  See your BASICA
  1422.           manual for detail  information  on  merging  BASICA
  1423.           files,  and  using  graphic  commands, like PUT and
  1424.           GET.
  1425.  
  1426.           Creating Libraries: While PC-KEY-DRAW is ideal  for
  1427.           creating  libraries, it currently comes with a lim-
  1428.           ited supply of  libraries.   I  have  created  many
  1429.           libraries  for  my own use, but they include things
  1430.           that would be of little use to anyone else. Most of
  1431.  
  1432.                                                LIBRARIES 8-3
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.           the libraries I have created relate to motion  com-
  1456.           pensated  cranes and there just isn't much call for
  1457.           such symbols.  At the time of this writing  PC-KEY-
  1458.           DRAW  includes  four  font libraries, seven pattern
  1459.           libraries, and a number of macro libraries.   I  do
  1460.           not  have  the time or the talent to create general
  1461.           purpose libraries, but some of  you  might.  Please
  1462.           send any libraries that you create to me for evalu-
  1463.           ation.  Unregistered  users  can   receive   credit
  1464.           towards  registering,  while  registered  users can
  1465.           receive credit towards updates or CA$H back.   Yep,
  1466.           I  am  willing  to pay for good libraries in any of
  1467.           PC-KEY-DRAW's formats, including printer configura-
  1468.           tion.   The  actual  price will depend on the type,
  1469.           quality, and general use  of  the  library.  Please
  1470.           indicate what you think the library is worth.
  1471.  
  1472.           I  reserve  the right to withdraw this offer at any
  1473.           time. Please send original libraries only  and  not
  1474.           copies of other program libraries.
  1475.  
  1476.           Library  Disks:  Several library disks are supplied
  1477.           with PC-KEY-DRAW. The library disks contain  numer-
  1478.           ous  files  saved  with  many  of the possible save
  1479.           techniques offered by PC-KEY-DRAW.  See Appendix  H
  1480.           for  listing  of the library disks currently avail-
  1481.           able.
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.           LIBRARIES 8-4
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.