home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / graf / keydraw3.zip / KD_DOC.10 < prev    next >
Text File  |  1988-06-23  |  82KB  |  3,433 lines

  1.  
  2.  
  3.  
  4.  
  5.      ──────────────────────────────────────────
  6.  
  7.      10 - DEFINITIONS
  8.      ──────────────────────────────────────────
  9.  
  10.      Active Layer The active layer is  the  one
  11.      in  which  you are actually drawing and is
  12.      always SCreen 1. The active layer can also
  13.      be  seen  and  may  be  overlaid  with the
  14.      visual layer.
  15.  
  16.      ASCII <F6 T a, A> ASCII text files can  be
  17.      imported  into  a drawing. Position cursor
  18.      to the line you want  the  file  to  start
  19.      displaying at. <a> will stop at the end of
  20.      the screen while <A> will continue to  the
  21.      end of the file. Hit <Esc> to stop.
  22.  
  23.      Animate  <F7  a> <F7 Alt-s> Once an object
  24.      has been copied or erased with <F7> it can
  25.      be  moved  about  on  the  screen. Animate
  26.      allows you to see the object as  it  moves
  27.      to  aid  in  proper  positioning.  Several
  28.      other functions  automatically  switch  to
  29.      the  animation mode to allow proper object
  30.      or text placement. Animation can  also  be
  31.      used with the Key Macro command to jazz up
  32.      slide shows. If the animated area is large
  33.      the  object  will  tend  to flash as it is
  34.      moved. The visual horizon can  be  set  to
  35.      allow  animated objects to disappear below
  36.      the horizon. <Alt-s>mear can also be  used
  37.      to  do  animation over a blank background.
  38.      Figure 10-1 shows a  screen  from  SLIDEMO
  39.      that  uses  <Alt-s>  to animate the manned
  40.      submersible.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                DEFINITIONS 10-1
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.       [recov]
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.   Figure  10-1 Submersible Launch and Recov-
  85.   ery using a Motion Compensated Crane.
  86.  
  87.  
  88.   Angle <[>, <]>, <{>, <}>  The  angle  from
  89.   the  cursor to the last measured point is,
  90.   starting  with  verison  3.50,  constantly
  91.   displayed  on  the  prompt line along with
  92.   the distance to the measure point and  the
  93.   x  and  y coordinates. <[> will rotate the
  94.   cursor position  counter-clockwise  around
  95.   the  measure  point using the cursor speed
  96.   step to determine the angle while <]> will
  97.   do  the  same  in a clockwise fashion. <{>
  98.   rotates  counter-clockwise  in  90  degree
  99.   increments,  while  <}> rotates clockwise.
  100.   The above rotation commands  work  anytime
  101.   the  cursor can be moved around the screen
  102.   including during line drawing,  rectangle,
  103.   polygon,  animate,  and smear. Figure 10-2
  104.   shows a  logo  created  with  the  aid  of
  105.   angle.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.   DEFINITIONS 10-2
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.               [logo1]
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.      Figure 10-2 Logo for a letterhead.
  150.  
  151.  
  152.      Arc  <F3  a, A> Arcs are drawn using <F3>.
  153.      First move cursor to center. Then mark the
  154.      radius  and end point followed by the sec-
  155.      ond end point. Arcs are always drawn coun-
  156.      terclockwise. Pie shaped arcs can be drawn
  157.      using <F3 A> and proceeding as with a reg-
  158.      ular  arc.  To  draw an elliptical arc use
  159.      <$> to modify the screen aspect ratio just
  160.      before  selecting  the first end point. Be
  161.      sure to  reset  the  proper  aspect  ratio
  162.      after drawing the arc.
  163.  
  164.      Area  <F1 c> The area of an object and the
  165.      center of  that  area  can  be  calculated
  166.      based  on  the  color set by <F10>. Calcu-
  167.      late works by looking for a color,  so  to
  168.      get  the area of a circle for example, the
  169.      circle must be painted in,  otherwise  you
  170.      are  getting  something closer to the per-
  171.      imeter than the area. Also  see  Mass  and
  172.      Center.
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                                DEFINITIONS 10-3
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.   Arrows <F2 a, Alt-a> Arrows at  45  degree
  204.   increments  and  almost  any  size  can be
  205.   added to the screen. The arrow will  point
  206.   <u>p,   <d>own,   <l>eft,   <r>ight,   <e>
  207.   up-right, <f> down right,  <g>  down-left,
  208.   and  <h>  up-left.  Set  the direction the
  209.   arrow is to point and use <u>p and  <d>own
  210.   to  change  the  size  before  saving  the
  211.   arrow. The amount of size change with each
  212.   <u> or <d> is a function of the <F9> speed
  213.   setting.  Arrow  color  is  determined  by
  214.   <F10>.  <F2  a>  produces an outline of an
  215.   arrow, while <F2 Alt-a> produces a  filled
  216.   in  arrow.  An  arrow  symbol  could as be
  217.   created  with  <F6>  and  rotated  to  any
  218.   angle.
  219.  
  220.   [bspline]
  221.                   B-Spline  <F3  b>  Complex
  222.                   curves can be difficult to
  223.                   draw  with just the cursor
  224.                   keys, but with <F3 b>  you
  225.                   can  let  the program con-
  226.                   nect  the  dots  that  you
  227.                   enter  and  create  smooth
  228.   curves. This is a great feature for those,
  229.   like  myself,  that  are  not artistically
  230.   inclined. It  makes  complex  curves  easy
  231.   from  the  keyboard.  Figure  10-3 shows a
  232.   simple b-spline curve.
  233.  
  234.   Background <F5 b>, <F5 c>,  <F5,  C>,  <B>
  235.   The  screen background color can be set in
  236.   medium resolution mode by using the  space
  237.   bar  to  page  through  the colors and the
  238.   <ENTER> to  fix  the  desired  color.  The
  239.   background can also be set in high resolu-
  240.   tion using <F5 C> and <F5 c>. <B>ackground
  241.   sets  the color that is used for the back-
  242.   ground during many operations.  See  Spray
  243.   paint and Fade for more information.
  244.  
  245.  
  246.   DEFINITIONS 10-4
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.      BAS File extension for BASICA program. <F7
  270.      C>opy can save a screen image as a  BASICA
  271.      subroutine  that  can  be merged into your
  272.      own program. This is useful for  including
  273.      logos  or  for  creating graphic game pro-
  274.      grams. See BASICA manual  for  information
  275.      on  merging  programs. The subroutine when
  276.      called will load an array with the data to
  277.      create  the  image. Use the PUT command to
  278.      place the image on the screen.
  279.  
  280.      BASIC is ideal for working  with  graphics
  281.      on  a CGA since it contains just about all
  282.      of the commands you need to manipulate the
  283.      screen   and   graphics.  Other  languages
  284.      require the use of libraries  to  get  the
  285.      graphics   functions  provided  in  BASIC.
  286.      Some insight into the operation of PC-KEY-
  287.      DRAW  is  possible  from the BASIC manual.
  288.      In particular look at  the  graphics  com-
  289.      mands  of  PUT,  GET,  DRAW, LINE, CIRCLE,
  290.      and PSET.
  291.  
  292.      Box <F2 r>, <F2 R>, <F2  Alt-r>,  <F2  s>,
  293.      <F2  S>  A  box  is a rectangle or square.
  294.      Start by positioning one of  the  corners.
  295.      Selecting a <r> will display the rectangle
  296.      as you move the cursor.  Position  box  as
  297.      desired and mark. <R> displays the box and
  298.      it  is  copied  into  <F7>  automatically.
  299.      <Alt-r>  produces a filled in rectangle at
  300.      the color set by  <F10>.  <s>  produces  a
  301.      rectangular  series  of  dots at the color
  302.      set by <F10>  in  light,  medium  or  dark
  303.      shading. <S> functions the same as <R>.
  304.  
  305.      CAMERA A public domain screen capture pro-
  306.      gram is included with PC-KEY-DRAW  to  aid
  307.      capturing  graphics  from  other programs.
  308.      Run CAMERA from DOS, enter program to dis-
  309.      play the desired graphic image, use <Ctrl-
  310.      ALT-Right Shift> to grab screen.
  311.  
  312.                                DEFINITIONS 10-5
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.   Center  animated area <C> Centers the ani-
  336.   mated object on the screen.
  337.  
  338.   Center of area <F1 c>, <F1 Alt-c> The cen-
  339.   ter of an area or the center of mass of an
  340.   object can be  calculated.  See  Area  and
  341.   Mass  for  more  information.  Figure 10-4
  342.   shows the results from calculation.
  343.  
  344.       [calc]
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.   Figure 10-4 Center and area  being  calcu-
  358.   lated. The units for the center dimensions
  359.   is inches and for the area square inches.
  360.  
  361.  
  362.   Center of circle <C> The last center of  a
  363.   circle can be located by <C> in the CURSOR
  364.   MODE.
  365.  
  366.   Circle <F3 c> Circles are drawn  by  first
  367.   marking  the center and then the radius of
  368.   the circle. Use <$> to  match  the  screen
  369.   aspect   ratio   of  your  monitor  and/or
  370.   printer. <$> only  effects  circles  drawn
  371.   after  a  change  and  not  already  drawn
  372.   circles. To change a  circle  once  it  is
  373.   drawn use <F1> Flip to compress the screen
  374.   in the appropriate direction.
  375.  
  376.  
  377.  
  378.   DEFINITIONS 10-6
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.      Circle  Center  Lines  <F3  Ctrl-c>,   <F3
  402.      Ctrl-e>   Center  lines  for  circles  and
  403.      ellipse are automatically drawn using <F3>
  404.      <Ctrl-c>  or  <Ctrl-e>.  Start  by placing
  405.      cursor at center of circle or ellipse  and
  406.      making selection and then moving cursor to
  407.      desired size and selecting <ENTER>.
  408.  
  409.      Color <F5 c>, <F5 C>,  <F10>  Three  color
  410.      palettes  are  available with three colors
  411.      each plus a  background  color  in  medium
  412.      resolution  from the standard color board.
  413.      <F5 c> will toggle between the  three.  15
  414.      unichrome  colors  are  also  available in
  415.      medium resolution  by  selecting  <C>.  15
  416.      colors  in high resolution are also avail-
  417.      able  with  <c>.  <F10>  will  select  the
  418.      active color from a given palette for use.
  419.      The current  color  is  displayed  on  the
  420.      prompt  line  as  a number to the right of
  421.      the  appropriately   colored   box.   Some
  422.      actions  are color specific. If the action
  423.      does not seem to work it may be  that  the
  424.      color  is  set  wrong.  <F5>  allows color
  425.      mixes for a total of 29  colors  per  pal-
  426.      ette.  With  a composite monitor 16 of the
  427.      color mixes become  distinct  colors.  For
  428.      best results set the color palette to pal-
  429.      ette 0 or 2 (RED GREEN YELLOW).
  430.  
  431.      Configure  <Ctrl-s>  PC-KEY-DRAW  must  be
  432.      configured  to  your particular system and
  433.      desires.  This  is   done   by   selecting
  434.      <Ctrl-s>tatus  from  the  CURSOR  MODE and
  435.      modifying  the  Configuration  Screen   as
  436.      desired.  In particular the disks that you
  437.      have available must be  set.  The  printer
  438.      can  also be configured for zoom printing.
  439.      See Status and Appendix B: for  additional
  440.      information.  The  key  macro  command  is
  441.      ideal for configuring the program to  your
  442.      personal  requirements.  Key macros can be
  443.  
  444.                                DEFINITIONS 10-7
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.   called  from  DOS when calling the program
  468.   so that each time you enter PC-KEY-DRAW it
  469.   can  be  set just as you like, beyond what
  470.   is saved in the Status Screen.
  471.  
  472.   Coordinates  PC-KEY-DRAW  was   originally
  473.   intended for CAD work and as such the cur-
  474.   sor position coordinates were always  dis-
  475.   played on the prompt line as the cursor is
  476.   moved. In addition to the x and y  coordi-
  477.   nates  the  distance  to the measure point
  478.   and the angle to the point are  also  dis-
  479.   played.  When using PC-KEY-DRAW as a paint
  480.   program it may not be  desirable  to  have
  481.   the cursor coordinate readout. Use <Alt-q>
  482.   to toggle between display on and off.
  483.  
  484.   Copy <F7 c>, <F7 C>, <F7  Ctrl-c>  Enclose
  485.   area is copied into <F7> buffer to be used
  486.   with smear, move, etc. <C> copies area and
  487.   allows  user  to  save that portion of the
  488.   screen on disk. Enter name of file includ-
  489.   ing  drive.  No extension on the name will
  490.   result in the program adding a PIC. A  FIG
  491.   extension  allows  partial screens or even
  492.   entire screens to be  saved  in  an  ASCII
  493.   file format. Use <F7 o> to get old or pre-
  494.   viously copied areas onto the screen  from
  495.   the  disk.  A  PIC  extension added to the
  496.   name will save the enclosed portion of the
  497.   drawing  in  a format compatible with many
  498.   other graphics  programs  allowing  inter-
  499.   change. The PIC extension is the most com-
  500.   pact on disk and is the default extension.
  501.   A  BAS extension will save the copied area
  502.   as a BASICA subroutine  for  use  in  user
  503.   generated  graphics programs. A FNT exten-
  504.   sion saves the copied area  a  part  of  a
  505.   font  file  under the character specified.
  506.   <Ctrl-c> copies the same size area as last
  507.   copied without enclosing it first.
  508.  
  509.  
  510.   DEFINITIONS 10-8
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.      Cursor  <F6 c> Lines can be drawn with the
  534.      cursor. The line color can be  changed  at
  535.      will  during  drawing. Use <F6 e>nd to end
  536.      and save to the screen. The entire  cursor
  537.      key  pad can be used, thus 45 degree lines
  538.      are possible.
  539.  
  540.      CURSOR MODE  Anytime  the  cursor  can  be
  541.      moved  around on the screen using the cur-
  542.      sor keys or a mouse. If no activities  are
  543.      pending the words CURSOR MODE is displayed
  544.      on the prompt line. The  opposite  of  the
  545.      CURSOR  MODE is MENU MODE, when moving the
  546.      cursor keys moves you through a  menu  and
  547.      doesn't move the cursor. If cursor wrap is
  548.      on (default condition), when the cursor is
  549.      moved  off the edge of the screen it wraps
  550.      around to the other  side.  When  off  the
  551.      cursor  will stop at the edge of the draw-
  552.      ing area.
  553.  
  554.      Cursor Type <Alt-c> Three cursor types are
  555.      available and can be readily selected with
  556.      <Alt-c> from the  CURSOR  MODE  or  during
  557.      configuration.  Cursor  0  is  a small dot
  558.      that is the same as early versions. Cursor
  559.      1  is  a  small  arrow  that points to the
  560.      active area. Cursor 2  is  a  full  screen
  561.      cross  hair.  Which cursor you use depends
  562.      on a lot of factors, each has  its  advan-
  563.      tages and disadvantages for a giving draw-
  564.      ing task.
  565.  
  566.      Cursor Wrap  <_>  Prior  to  version  3.50
  567.      when  the  cursor was moved off the screen
  568.      the it would  wrap  around  to  the  other
  569.      side.  Use  <_>  to  turn wrap off so that
  570.      the cursor will stop at the  edge  of  the
  571.      screen  and  not wrap. When wrap is turned
  572.      off a line (_) is displayed under the cur-
  573.      sor speed value.
  574.  
  575.  
  576.                                DEFINITIONS 10-9
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.   Customizing  PC-KEY-DRAW  provides  flexi-
  600.   bility  in  customizing  the program to an
  601.   individuals tastes or  needs.  KD-DRAW.TXT
  602.   can be readily modified with any text edi-
  603.   tor to  provide  different  prompts.  Care
  604.   must  be  taken  to conform to the conven-
  605.   tions of the existing file. This is not  a
  606.   task  for the novice. The macro files when
  607.   used in a HOT key file make for  an  ideal
  608.   method  of  customizing PC-KEY-DRAW. Macro
  609.   files for particular uses can  be  created
  610.   and  combined into a HOT key file. Differ-
  611.   ent HOT key files for different tasks  can
  612.   be  kept on disk and called up when needed
  613.   with <Alt-k f>unction key set.
  614.  
  615.   DAT Data file extension  containing  scale
  616.   information  for  full screen saves. These
  617.   files can be  erased  to  gain  more  disk
  618.   space,  but  the  scale for a picture will
  619.   become pixel scaling.
  620.  
  621.   Date <Alt-d> the DOS date can be displayed
  622.   at  the  specified location on the screen.
  623.   (see also Time)
  624.  
  625.   Delete File See Kill.
  626.  
  627.   Delete Lines <F7 Alt-l>  Horizontal  lines
  628.   can  be  deleted from the cursor position.
  629.   The number of lines that will  be  deleted
  630.   is  dependent  on the cursor speed setting
  631.   as shown on the prompt line.
  632.  
  633.   Direct Coordinate Entry <x> the  x  and  y
  634.   coordinates  can  be  entered  directly if
  635.   desired. Direct coordinate  entry  can  be
  636.   used  from the CURSOR MODE or while in one
  637.   of the main menus.
  638.  
  639.  
  640.  
  641.  
  642.   DEFINITIONS 10-10
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.      Directory <F8 d #>, <F6 o #>,  <F6  E  #>,
  666.      <F6  T a #>, <F7 o #>, <F7 C #>, <F8 o #>,
  667.      <F8 Ctrl-o>, <F8 Alt-o>,  <F8  s  #>,  <F1
  668.      Ctrl-z  o  #>,  <Alt-k  r  #>, <Alt-k c #>
  669.      Where "#" is the drive letter to  see  the
  670.      directory  of. The complete disk directory
  671.      for any drive is found with  <F8  d>  fol-
  672.      lowed by a single drive letter or complete
  673.      drive\path specification. If <=>  is  used
  674.      ahead  of  the  drive\path  the drive\path
  675.      will be kept as the default for saving and
  676.      loading  the various files. Partial direc-
  677.      tories can  be  obtained  with  the  other
  678.      listed  functions  by  entering  the drive
  679.      followed by a <ENTER> when asked for  file
  680.      name.  Only  those files that pertain to a
  681.      given directive will be shown. To be  able
  682.      to use the partial directory capability be
  683.      sure to let the program add  the  required
  684.      extension.  The  extension  names are con-
  685.      tained in KD-DRAW.TXT and can  be  changed
  686.      if desired to avoid conflicting with other
  687.      programs.
  688.  
  689.      Disable Workspace Set the update frequency
  690.      to  0 to disable the updating of the work-
  691.      space. This can be used  for  macros  when
  692.      space is not available for a workspace, or
  693.      when a workspace is not desired.
  694.  
  695.      Display <F8 Alt-o> screens can  be  loaded
  696.      in  1  of 5 display forms for use in slide
  697.      shows.
  698.  
  699.          1. Fade In 
  700.          2. Pull Down
  701.          3. Pull Up
  702.          4. Pull Left
  703.          5. Pull Right
  704.  
  705.  
  706.  
  707.  
  708.                               DEFINITIONS 10-11
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.   Dot <F6 d> Single pixel dots are placed by
  732.   marking the correct spot with  a  <ENTER>.
  733.   <F10> determines the color of the dot. The
  734.   dot can also be made as large  as  desired
  735.   using  the  width  command from the CURSOR
  736.   MODE.
  737.  
  738.   Down <F6 T d>  To  place  text  vertically
  739.   and running down the screen use <F6 T d>.
  740.  
  741.   Edge Detection See Image Processing.
  742.  
  743.   Ellipse  <F3  e>  As with circles and arcs
  744.   the ellipse is drawn by first marking  its
  745.   center. The horizontal radius and vertical
  746.   radius must also be marked. The radius  is
  747.   marked  by moving the cursor keys over and
  748.   up.
  749.  
  750.   End <F6 e>, <F6 E> With the  exception  of
  751.   text, all functions in <F6> must be ended.
  752.   If a line drawing is ended  with  <E>  the
  753.   drawing  is  saved  as  a vector for later
  754.   use. See Line.
  755.  
  756.   Erase <F7 e>,  <F7  E>,  <F7  Alt-e>,  <F7
  757.   Ctrl-e>  To  erase an area enclose it in a
  758.   box as with copy. With <e> the  area  will
  759.   be erased and saved to the <F7> buffer for
  760.   use with move, animate, etc. With  <Alt-e>
  761.   the area is erased but not saved. <Ctrl-e>
  762.   will  erase  a  circular  portion  of  the
  763.   screen.  <E>  erases  an area and switches
  764.   to animate mode to allow  quick  and  easy
  765.   movement of a portion of a screen.
  766.  
  767.   Exit  <F1-F8  n>; <F8 e> A function can be
  768.   exited with <n>,  <Esc>,  </>,  or  <Space
  769.   Bar>.  The  program  is exited to DOS with
  770.   <F8 e>.
  771.  
  772.  
  773.  
  774.   DEFINITIONS 10-12
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.      Extension File extensions for the  various
  798.      files  used  by PC-KEY-DRAW have been pre-
  799.      defined,  however  they  can   be   easily
  800.      changed  to what ever you prefer, by edit-
  801.      ing the file  KD-DRAW.TXT  with  any  text
  802.      editor. This manual assumes they have been
  803.      kept as originally defined. See  the  Sec-
  804.      tion on Libraries for more information.
  805.  
  806.      Fade  <F4  f>,  <F4  Alt-f> Objects can be
  807.      faded to the background by color using <f>
  808.      or all colors can be faded using <Alt-f>.
  809.  
  810.      Fatbits  <F1 Ctrl-z> editing of screens at
  811.      the pixel  level  is  possible  using  <F1
  812.      Ctrl-z>.  Enclosed  area  to  be edited in
  813.      fixed sized box. If you want to  edited  a
  814.      larger  area select <Ctrl-z> a second time
  815.      to display 8 boxes in high resolution or 4
  816.      boxes in medium resolution. Select <ENTER>
  817.      to reach the editing stage. Set the  color
  818.      of each individual pixel by specifying the
  819.      appropriate number (0,1,2,3). Use  <t>race
  820.      to  draw  by  selecting  <t>  and then the
  821.      color to be used. Selecting <t>  a  second
  822.      time  turns off the trace. Use <Ctrl-PgUp>
  823.      and <Ctrl-PgDn> to move  through  multiple
  824.      screens.   Use  <Esc>  to  exit.  Starting
  825.      with version 3.50 Fatbits has been signif-
  826.      icantly improved to provide greater flexi-
  827.      bility in editing by  providing  a  scroll
  828.      feature  and  eliminating the need for the
  829.      multiple page approach which is retain for
  830.      backward  compatibility only. Scrolling is
  831.      activated with <Alt-s>croll,  after  which
  832.      the  cursor  keys  or  mouse will move the
  833.      screen window in the  direction  selected.
  834.      It  is  possible to scroll over the entire
  835.      screen. <Alt-s> a second  time  will  turn
  836.      scrolling  off.  Trace  can  be  used with
  837.      scroll. Upon exiting the area  covered  is
  838.      copied and available in <F7>.
  839.  
  840.                               DEFINITIONS 10-13
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.   FIG Figures-see Copy. File is saved in  an
  864.   ASCII format.
  865.  
  866.   Fill  <F5 f>, <F5 Alt-f> Areas that can be
  867.   painted can be filled instead. The program
  868.   comes  with  64  patterns  on KD-PTRN.PIC.
  869.   These patterns can be changed or  modified
  870.   as desired and resaved (see section for F7
  871.   for handling PIC  files).  <Alt-f>  allows
  872.   any  PIC  file to be called in to act as a
  873.   pattern file. The file called becomes  the
  874.   default (until program is exited) and will
  875.   be used the next time <F5 f> is called.
  876.  
  877.   Fillet <F3  f>  Automatic  fillets  to  90
  878.   degree  corners  are  created by drawing a
  879.   box around corner to set the radius.
  880.  
  881.   Flip <F1 f>, <F1 F> Flip has a variety  of
  882.   uses.  Think  of it as rotating the screen
  883.   through an angle. This can be used to com-
  884.   press  the image and is useful in matching
  885.   completed screen to printer. <f>  is  used
  886.   to flip a portion of the screen, while <F>
  887.   is used to flip the entire screen.
  888.  
  889.   FNT Font file. This ending must be  speci-
  890.   fied to save part of a screen as a font. A
  891.   single  file  contains  all  of  the  font
  892.   information for the specified characters.
  893.  
  894.          [softnow]
  895.  
  896.  
  897.  
  898.  
  899.  
  900.   Figure  10-5 3-dimensional text created by
  901.   modifing one of the alternate  text  fonts
  902.   supplied with PC-KEY-DRAW.
  903.  
  904.  
  905.  
  906.   DEFINITIONS 10-14
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.      Fonts  Two  standard  fonts are built into
  930.      the program. Which one is used depends  on
  931.      which  mode  the  program  is operating in
  932.      (high or medium resolution). The  standard
  933.      text  fonts are retrieved with <F6 t>, <F6
  934.      T>, <F6 Ctrl-t>. Alternate text fonts  can
  935.      be  created, saved and recalled. The fonts
  936.      can be created using any and  all  of  the
  937.      program  functions. To save a font use <F7
  938.      C>opy to copy each  individual  letter.  A
  939.      given  font  should  be  saved to the same
  940.      file with  an  FNT  extension.  Fonts  are
  941.      recalled as needed with <F6 Alt-t> by typ-
  942.      ing in the text and specifying the font to
  943.      use. Figure 10-6 shows what can be done in
  944.      minutes using the four supplied fonts com-
  945.      bined  with  other  program functions. The
  946.      "CREATE-A-FONT" title was done in  several
  947.      steps,    including   <F7   S>   and   <F1
  948.      Ctrl-s>lide. Italics  are  easily  created
  949.      using  <F1  s>lide  and  a step of 15. <F1
  950.      z>oom allows you  to  set  the  number  of
  951.      steps in a zoom to produce the "ZOOM STEP"
  952.      text. Library Disk #3  contains  14  addi-
  953.      tional  text fonts along with several very
  954.      useful macros for creating BOLD, 3-D text,
  955.      outlined  text  and  overlaid text quickly
  956.      and easily from any of the text fonts.
  957.  
  958.          [create]
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.      Figure 10-6 Simple font modifications.
  971.  
  972.                               DEFINITIONS 10-15
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.   Freehand  drawing <F6 c> While there are a
  996.   variety of methods that can be used in the
  997.   program  to  do freehand drawing, the most
  998.   common is to set the cursor to  continuous
  999.   with  <F6  c>  and to draw with the cursor
  1000.   keys or a mouse. The color of the line can
  1001.   be  set  with  F10  and the drawing can be
  1002.   temporarily suspended with a  <Space  Bar>
  1003.   or  second  mouse key, then restarted with
  1004.   an <ENTER> or the first mouse button.  <F6
  1005.   c>ursor  acts  in  much the same way as an
  1006.   Etch-A-Sketch and as such has some limita-
  1007.   tion.  <F6  l>ine  is the preferred method
  1008.   of drawing lines, since the width  can  be
  1009.   set  and  the  <Backspace>  can be used to
  1010.   back up and correct mistakes. Both  <l>ine
  1011.   and <c>ursor must be ended by returning to
  1012.   <F6> and <e>nding.
  1013.  
  1014.   FUN Computer graphics are  not  only  very
  1015.   useful, but can be a whole lot of fun.
  1016.  
  1017.   GRAPHICS  To print a screen on most print-
  1018.   ers,  GRAPHICS.COM  must  be  run   first.
  1019.   GRAPHICS.COM  comes  with  all versions of
  1020.   DOS and can be part  of  an  AUTOEXEC.BAT,
  1021.   KD.BAT  or  run  directly  from  DOS. With
  1022.   GRAPHICS loaded a <Shft-PrtSc>  will  send
  1023.   the screen image to the printer.
  1024.  
  1025.   GRAFTABL  When  in  the graphics mode of a
  1026.   CGA, ASCII values greater than 127 are not
  1027.   defined  by  default. GRAFTABL is supplied
  1028.   with DOS 3.* to define the  ASCII  charac-
  1029.   ters  above  127  as the same as what they
  1030.   would be in a text mode. Load GRAFTABL  as
  1031.   part of your AUTOEXEC.BAT to use the ASCII
  1032.   characters 128 to 255. It is also possible
  1033.   to define your own set of high bit charac-
  1034.   ters.
  1035.  
  1036.  
  1037.  
  1038.   DEFINITIONS 10-16
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.      Grid <g>, <Ctrl-g>, <Alt-g> A grid made of
  1062.      dots  can  be  placed  or removed with <g>
  1063.      from the CURSOR MODE. A grid made of lines
  1064.      is  placed with <Alt-g>. Version 3.50 adds
  1065.      a third grid type with <Ctrl-g>, that pro-
  1066.      vides lines that are XORed with the screen
  1067.      for easier view of what is under the grid.
  1068.      The  user must specify the spacing between
  1069.      grid points. The color of grid is  set  by
  1070.      the  current  active  color  when  <g>  or
  1071.      <Alt-g> are selected. The grids reside  on
  1072.      a separate layer and do not become part of
  1073.      the drawing.
  1074.  
  1075.      Grid Jump  <Ctrl-Right  Arrow>  <Ctrl-Left
  1076.      Arrow> When using the keyboard to move the
  1077.      cursor <Ctrl-Right Arrow> will jump to the
  1078.      nearest  grid  point  to  the right, while
  1079.      <Ctrl-Left Arrow> will jump to the nearest
  1080.      grid point to the left of the current cur-
  1081.      sor position.
  1082.  
  1083.      Help <h>, <H> Help information  is  avail-
  1084.      able  in  the CURSOR MODE or when entering
  1085.      any function. Selecting <?>,  <h>  or  <H>
  1086.      the  first time will turn on the pull down
  1087.      menus. Selecting <h>elp a second time will
  1088.      display a disk file as appropriate for the
  1089.      section you are in. <H> or <?> is used  to
  1090.      turn off the pull down menus from the CUR-
  1091.      SOR MODE. Help is available from the  CUR-
  1092.      SOR  MODE or anytime the menu is displayed
  1093.      on the prompt line. Selecting  help  while
  1094.      in the PAN mode (<Ctrl-Home>) will display
  1095.      a map of the current page in  relation  to
  1096.      the 64 pages.
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.                               DEFINITIONS 10-17
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.   Hot Keys  <Shft-F1  to  F8>,  <Ctrl-F1  to
  1128.   F10>,  <Alt-F1  to  F9> 27 hot keys can be
  1129.   defined to customize PC-KEY-DRAW  to  your
  1130.   own   personal   needs  and  desires.  KD-
  1131.   DRAW.HOT contains the names of key  macros
  1132.   (previously  created)  that  are activated
  1133.   with one of the hot keys. The name of  the
  1134.   HOT  key  file  to  use is set with <Alt-k
  1135.   f>unction.  The  default   name   is   KD-
  1136.   DRAW.HOT,  but  as  many  HOT key files as
  1137.   desired can be created and kept  on  disk.
  1138.   HOT  key  files  may consist only of macro
  1139.   names associated with  the  HOT  keys,  so
  1140.   that the particular file is called and run
  1141.   when its HOT  key  is  selected.  HOT  key
  1142.   files  can  also  be compiled with MAKHOT-
  1143.   LIB.EXE  to  create  a  single  file  that
  1144.   includes both the function key definitions
  1145.   and the macros  themselves.  Compiled  HOT
  1146.   key  files have a great advantage in mini-
  1147.   mizing the disk space required for macros.
  1148.  
  1149.       [imagepro]
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.   Figure 10-7 Basic image processing is pos-
  1163.   sible  with PC-KEY-DRAW. A digitized image
  1164.   in original form is shown along with  pro-
  1165.   cessing   for  vertical  edge,  horizontal
  1166.   edge, and both edge enhancement.
  1167.  
  1168.  
  1169.  
  1170.   DEFINITIONS 10-18
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.      Image Processing Basic image processing is
  1194.      possible  on  digitized or scanned images.
  1195.      Figure 10-7 shows a  sample  picture  with
  1196.      vertical  edge,  horizontal edge, and both
  1197.      edge enhancement/detection. Edge detection
  1198.      is  accomplished with the aid of <F7 c>opy
  1199.      and <F7 m>. For vertical  edge  detection,
  1200.      copy the image, move one pixel to the left
  1201.      and move the image in place. For  horizon-
  1202.      tal  edge  detection  start  with  a clean
  1203.      image, copy  the  image,  move  one  pixel
  1204.      down, and move the image in place.
  1205.  
  1206.      Insert line <F7 l> Horizontal lines can be
  1207.      inserted at the cursor position. The  num-
  1208.      ber of lines inserted is determined by the
  1209.      setting of the cursor speed, as  displayed
  1210.      on  the prompt line. Inserting a line sim-
  1211.      ply puts space at the cursor position.
  1212.  
  1213.      Isometric Drawing <i> Toggles the  isomet-
  1214.      ric  drawing mode. When activated the cur-
  1215.      sor moves at  a  30  or  60  degree  angle
  1216.      instead  of a 45 degree angle. Circles are
  1217.      also  adjusted  accordingly.  Figure  10-8
  1218.      shows  a  drawing made with the aid of the
  1219.      isometric mode.
  1220.  
  1221.          [table]
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.      Figure  10-8  Drawing  made  in  isometric
  1234.      mode.
  1235.  
  1236.                               DEFINITIONS 10-19
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.   Joystick Any standard joystick can be used
  1260.   with version 3.50 or later of PC-KEY-DRAW.
  1261.   All references to mice also apply to  joy-
  1262.   sticks.
  1263.  
  1264.   Jump  <j>  The joystick and mouse sensiti-
  1265.   vity is set by the <j>ump factor.  A  sen-
  1266.   sitivity  number of 5 seems to be good for
  1267.   a mouse, while 10 works well with  a  joy-
  1268.   stick.  The  jump  factor  can be saved to
  1269.   disk with <Ctrl-s Ctrl-s>.
  1270.  
  1271.   Jump <Ctrl-J>, <Alt-#> Where # is a number
  1272.   from  0  to  9  inclusive. Allows a screen
  1273.   position to be set and  remembered.  First
  1274.   position  the  cursor  as  desired, select
  1275.   <Ctrl-j>ump  or  <Ctrl-ENTER>   and   then
  1276.   <Alt-#>  where  # is a number from 0 to 9.
  1277.   The screen positioned is now remembered on
  1278.   disk  for  future  use. At any time select
  1279.   <Alt-#> to jump to the remembered position
  1280.   instantly.  For  compatibility  with  past
  1281.   versions keep <Alt-1> as  0,0.  (Top  left
  1282.   corner)  KD-DRAW.JMP  is created the first
  1283.   time a jump position is set.
  1284.  
  1285.   KD-TRANS.EXE (PC-KEY-DRAW  macro  TRANSla-
  1286.   tor)  provides  easier  editing  of  macro
  1287.   files by translating keystroke codes  into
  1288.   the  names  of the keystrokes. While MaCRo
  1289.   files can be  edited  directly  with  many
  1290.   text editors, it is easier to first trans-
  1291.   late the MaCRo file to a TeXT file.  After
  1292.   editing use KD-TRANS.EXE to translate back
  1293.   to a  MaCRo  file.  KD-TRANS.EXE  must  be
  1294.   called from DOS.
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.   DEFINITIONS 10-20
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.      Keep  <k>  While  putting  a box around an
  1326.      object or drawing a circle the drawing  is
  1327.      modified  by  the box. When the <ENTER> is
  1328.      hit to complete  the  box  the  screen  is
  1329.      first  restored  and then the action takes
  1330.      place. Sometimes the effect is  desirable.
  1331.      While  in  the  CURSOR  MODE selecting <k>
  1332.      keeps the drawing as it is  seen  at  that
  1333.      moment. Using <k> will also keep the grid,
  1334.      help screen, or layer and should  be  used
  1335.      with care.
  1336.  
  1337.      Key  Macro <Alt-k> This is a very powerful
  1338.      feature of Version 3 and  potentially  the
  1339.      most  useful.  I have yet to fully examine
  1340.      all of the uses, but  they  include  at  a
  1341.      minimum,  macros,  slide shows with anima-
  1342.      tion, drawing  saves,  program  customiza-
  1343.      tion.   Several   commands  such  as  <*>,
  1344.      <Alt-v>isual   horizon,    <Alt-1>,    and
  1345.      <Alt-p>ause  have  been added specifically
  1346.      for use with key macros. The demo/tutorial
  1347.      supplied  with  the program is a sample of
  1348.      using a key macro as a slide  show.  Basi-
  1349.      cally,  what a key macro does is to remem-
  1350.      ber every key stroke  that  you  make  and
  1351.      save  them to an ASCII sequential file for
  1352.      later retrieval. The file  that  is  saved
  1353.      consists  of  the key stroke code followed
  1354.      by the number of times the key is  struck.
  1355.      The  files  produced  are  very  small and
  1356.      offer the maximum use of disk space. A Key
  1357.      Macro  is  started  by  selecting  <Alt-k>
  1358.      while in the CURSOR MODE and  assigning  a
  1359.      name  to  a file to be created. Everything
  1360.      after this is recorded  until  <Alt-k>  is
  1361.      selected  a second time. Selecting <Alt-k>
  1362.      a third time allows  the  just  saved  key
  1363.      macro  to  be run. (See the section on the
  1364.      Key Macro command)
  1365.  
  1366.  
  1367.  
  1368.                               DEFINITIONS 10-21
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.   Kill  <F8 k) Unwanted files can be removed
  1392.   from a disk by using kill  and  specifying
  1393.   the  complete  name  including  the  drive
  1394.   designation.
  1395.  
  1396.   Layers <l>, <L>, <Ctrl-l>, <Alt-l>  Up  to
  1397.   64  layers  or overlays can be used to aid
  1398.   in  creating  drawings.  Layers   can   be
  1399.   thought  of  as  drawing  on clear sheets.
  1400.   Only the active  layer  is  modified,  but
  1401.   other  layers can be visual if desired. It
  1402.   takes about 1 meg. of memory to handle  64
  1403.   layers so it is only practical with a hard
  1404.   disk or better yet a RAM  disk.  (See  RAM
  1405.   Disk)  When layers are active scrolling of
  1406.   1/2 pages is disabled. Use <Alt-l> to com-
  1407.   pletely turn off layers.
  1408.  
  1409.   Lines  <F6  l>  Lines are drawn by marking
  1410.   successive end  points  with  <ENTER>.  As
  1411.   the  line  is  drawn, its length and angle
  1412.   are displayed on the  prompt  line.  Lines
  1413.   are  used  to generate vector objects that
  1414.   can be saved and retrieved at a later time
  1415.   at  any angle or scale. <F6 e>nd will save
  1416.   the line to the screen only. <F6 E>nd will
  1417.   save  the line to the screen and to a user
  1418.   specified file as a vector. The object  is
  1419.   saved  with  scaling  so  that  when it is
  1420.   recalled it can be matched to the scale of
  1421.   the  drawing in progress. Vectors are use-
  1422.   ful for flow chart symbols, or  for  other
  1423.   commonly used line objects where scale and
  1424.   angle are important. Use the  <SPACE  BAR>
  1425.   to  temporarily  suspend  line drawing and
  1426.   the <Back Space> to  back  up.  Width  and
  1427.   color  can  be  set  as desired. Lines can
  1428.   also be drawn with <F6 c>ursor.  See  Cur-
  1429.   sor for more information.
  1430.  
  1431.  
  1432.  
  1433.  
  1434.   DEFINITIONS 10-22
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.      Macros  <Alt-k>  Keystroke  macros  can be
  1458.      <c>reated or  <r>un.  A  macro  saves  the
  1459.      keystrokes  entered  in  the program while
  1460.      during  macro  creation.  The  saved  key-
  1461.      strokes  can  then  be played back. Macros
  1462.      can  be  used   to   automate   frequently
  1463.      repeated   keystrokes,  used  to  save  an
  1464.      entire drawing or used to  create  a  self
  1465.      running  slide show demo. <Alt-k f>unction
  1466.      lets you change which HOT key file is used
  1467.      to define the function keys.
  1468.  
  1469.      MAKHOTLIB.EXE  (MAKe  HOT key LIBrary) HOT
  1470.      key files can be compiled  (libraried)  to
  1471.      include  all  of the various macros called
  1472.      in the HOT key  file.  MAKHOTLIB.EXE  must
  1473.      be  run  from  DOS. It will create a blank
  1474.      KD-DRAW.HOT if one is  not  found  in  the
  1475.      current  directory.  The  file can then be
  1476.      edited, with a standard  text  editor,  to
  1477.      add  the names of macros to be called when
  1478.      a function key  is  selected.  If  MAKHOT-
  1479.      LIB.EXE is run when KD-DRAW.HOT exists, it
  1480.      will compile the file by combining it with
  1481.      all of the macro files that it can find in
  1482.      the current directory. Use unlibraried HOT
  1483.      key  files  for testing and libraried/com-
  1484.      piled  HOT  key  files  for  distribution.
  1485.  
  1486.      Mass  <F1 C> The mass of an object and the
  1487.      center of mass can be calculated based  on
  1488.      user  supplied density parameters for each
  1489.      color. See Area and Center.
  1490.  
  1491.      MCR macro file extension.
  1492.  
  1493.      Measure <m>,  <M>,  <Alt-m>  the  distance
  1494.      between  two  points  can  be  measured by
  1495.      marking one end with a <m> and moving  the
  1496.      cursor  to  the second point. The distance
  1497.      is displayed on the prompt  line.  Measure
  1498.      is  always  active and gives the radius of
  1499.  
  1500.                               DEFINITIONS 10-23
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.   circles,  the dimensions of boxes, and the
  1524.   length of lines. <M> moves the  cursor  to
  1525.   the  last  measured  point.  (See  Scale).
  1526.   <Alt-m> allows you to set the scale on the
  1527.   fly.  First  mark  a  point  with <m> then
  1528.   move a known  distance  and  with  <Alt-m>
  1529.   tell PC-KEY-DRAW what that distance is.
  1530.  
  1531.   Menu  <Space>, <F1 to F8> PC-KEY-DRAW pro-
  1532.   vides two basic methods of entering a com-
  1533.   mand.  The command can be entered directly
  1534.   for fastest operation or selected  from  a
  1535.   menu. Version 3.50 provides full menu sup-
  1536.   port for nearly every  command  available.
  1537.   Menus  can  be  supplemented by turning on
  1538.   the help menu in the top  left  corner  of
  1539.   the  screen.  To  enter  the  primary menu
  1540.   select <Space> then  move  thru  the  menu
  1541.   with  the  cursor  keys.  When the desired
  1542.   function is displayed hit <ENTER> to  move
  1543.   to  the  next  menu, then move through the
  1544.   menu with the cursor keys to highlight the
  1545.   desired  function  and  hit enter to start
  1546.   that  function.  Any  menu  item  can   be
  1547.   reached  directly  by  hitting  the  high-
  1548.   lighted key combination directly. Remember
  1549.   lowercase,  uppercase,  control and alter-
  1550.   nate have a somewhat different effect  for
  1551.   each  command.  In  the  menu the need for
  1552.   shift is displayed  with  a  "S",  control
  1553.   with "C", and alternate with "A".
  1554.  
  1555.   Merge  <F7  m>  Two  screens can be merged
  1556.   together as one.  Start  by  loading  <F10
  1557.   o>ld the first screen into either SCreen 1
  1558.   or SCreen 2. Switch to SCreen F7 and  load
  1559.   the  screen  to  be merged. Switch back to
  1560.   the first screen and put the cursor in the
  1561.   top  left  hand  corner.  Select <F7> then
  1562.   <m>,  <M>  or  <Ctrl-m>  for  the  desired
  1563.   result.
  1564.  
  1565.  
  1566.   DEFINITIONS 10-24
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.      Mirror  <F1 m>, <F1 M> Objects can be mir-
  1590.      rored using <m>. The entire screen can  be
  1591.      mirrored either horizontally or vertically
  1592.      with  <M>.  Figure  10-9  shows  a  screen
  1593.      that  was created by a macro that mirrored
  1594.      horizontally,  then  vertically  and  then
  1595.      called  itself  and let run on GIRL.SCN. A
  1596.      mirrored JOES was added and that was it.
  1597.  
  1598.          [injoes]
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.      Figure 10-9 Bar scene at Joes create by  a
  1612.      recursive macro using only <F1 m>.
  1613.  
  1614.  
  1615.      Mode  <Shft-Tab>, <Alt-r> Two screen modes
  1616.      are available. Mode 2 is the high  resolu-
  1617.      tion  mode  (640X200)  and  mode  1 is the
  1618.      medium and color mode. (320X200)  You  can
  1619.      readily  switch between the two to achieve
  1620.      desired results. Virtually  all  of  func-
  1621.      tions  available  in  the  color  mode are
  1622.      available in  the  high  resolution  mode.
  1623.      Each mode has its advantages for different
  1624.      applications and systems.  Sometimes  when
  1625.      an  object is copied with <F7> in one mode
  1626.      and moved into  another  mode  the  object
  1627.      will  be  distorted.  Use  <@>  to adjust.
  1628.      <Alt-r> forces the  screen  mode  to  high
  1629.      resolution.
  1630.  
  1631.  
  1632.                               DEFINITIONS 10-25
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.   Modify <F5 m>, <F5 M>,  <F5  Ctrl-m>,  <F5
  1656.   Alt-m>  Painted  areas  can  be changed or
  1657.   modified to produce additional colors. Set
  1658.   <F10>  to  the  color  you wish to modify.
  1659.   Select <F5 m> and define  object  in  box.
  1660.   <M> operates on the entire screen. Set the
  1661.   new  color  to  any  of  the  29   colors.
  1662.   <Alt-m> allows the 29 colors to be changed
  1663.   to one of the other  29  colors.  <Ctrl-m>
  1664.   operates  as  <Alt-m>,  but  on the entire
  1665.   screen. A file called KD-PAINT.PIC  is  on
  1666.   the  program  disk  and can be viewed with
  1667.   <F7 o>. It contains the color bar that  is
  1668.   shown  on  the  screen  during  modify and
  1669.   paint.
  1670.  
  1671.   Money How did you get this?  If  you  have
  1672.   purchased  PC-KEY-DRAW  from  Ed Kidera of
  1673.   OEDWARE then thank you very much!!, but if
  1674.   you  are  using a copy and have not regis-
  1675.   tered, please take some time  and  do  so.
  1676.   Isn't  this  worth the registration price?
  1677.   See the section on libraries for a way for
  1678.   you to save some cash or even make some.
  1679.  
  1680.   Mouse  Mode Pull down function and command
  1681.   menus can be used either with or without a
  1682.   mouse.  When  used  with a mouse the mouse
  1683.   can be used to  click  on  a  function  to
  1684.   select  it,  as  with  many other graphics
  1685.   programs, but this is a slow and silly way
  1686.   to  run  any graphics program. PC-KEY-DRAW
  1687.   provides a much  easier  way  of  using  a
  1688.   mouse,  by allowing the menu to be brought
  1689.   in with the click of button two. Once in a
  1690.   function  select mode, the cursor movement
  1691.   will move you through  the  menu  and  not
  1692.   around  the screen. Use button 1 to make a
  1693.   selection and return to CURSOR  MODE.  See
  1694.   the  Hardware section for more information
  1695.   on the mouse. Also see Chapter 3.
  1696.  
  1697.  
  1698.   DEFINITIONS 10-26
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.      Move <F7 m>,  <F7  M>,  <F7  Ctrl-m>,  <F7
  1722.      Alt-m>  Previously  copied or erased areas
  1723.      can be moved to a new location.  Use  ani-
  1724.      mate  to aid in positioning. The four dif-
  1725.      ferent syntaxes of move will produce  dif-
  1726.      ferent  results.  The  correct  one to use
  1727.      depends on the desired result.  Experiment
  1728.      with  the  different  moves  to  learn and
  1729.      understand  the  results.  The   following
  1730.      table  applies  to  smear and replicate as
  1731.      well:
  1732.  
  1733.           Command      Logical    Effect
  1734.           -------      -------    ------
  1735.                 m       XOR        Mixed
  1736.            Shft m       OR         With
  1737.            Ctrl-m       AND        Over
  1738.             Alt-m       PSET       Replace
  1739.  
  1740.      Use move after <F7 a>nimate,  <F7  s>mear,
  1741.      and  <F7 r>eplicate. <Ctrl-m> is very use-
  1742.      ful in painting odd  shaped  objects  with
  1743.      complex  patterns. See Examples in earlier
  1744.      section for tips on using it.
  1745.  
  1746.      Music See Play
  1747.  
  1748.      Old <F1 Ctrl-z o>, <F6 o>, <F6 O>, <F7 o>,
  1749.      <F7  O>,  <F8 o>, <F8 O>, <F8 Ctrl-o>, <F8
  1750.      Alt-o> Previously saved  vectors,  objects
  1751.      and  screens  can  be  retrieved with old.
  1752.      Primarily for slide  show  use  text  mode
  1753.      screens  can  be called into view with <F1
  1754.      Ctrl-z o>. In F6, vectors drawn with  line
  1755.      and  saved  with  <E>nd  can  be called up
  1756.      later for use. Any angle may be  specified
  1757.      as  may any scale. A <ENTER> will take the
  1758.      rotation as drawn and will fit  the  scale
  1759.      of  the vector to the scale of the current
  1760.      drawing. <O> takes  the  last  vector  and
  1761.      allows   the  rotation  and  scale  to  be
  1762.      changed. After setting the scale the  vec-
  1763.  
  1764.                               DEFINITIONS 10-27
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.   tor object can be moved across the  screen
  1788.   and  left in position with <F7 M>. Objects
  1789.   that  where  saved  with  <F7  C>  can  be
  1790.   recalled  with <F7 o>. They will appear at
  1791.   the same size as drawn and so may  be  out
  1792.   of  scale.  <F8  o>  is  used  to retrieve
  1793.   entire screens saved in <F8> or  saved  in
  1794.   some other program. If a DAT file accompa-
  1795.   nies the drawing the scale will be changed
  1796.   accordingly.  To sequentially bring in the
  1797.   screens from disk use <F8 O> and <PgDn> to
  1798.   page   through  the  screens.  Select  the
  1799.   screen you want with  <ENTER>.  This  make
  1800.   finding  a  screen very easy. See Template
  1801.   for  information  on  <F8   Ctrl-o>.   <F8
  1802.   Alt-o> can be used in slide show macros to
  1803.   display the screens in one of  five  meth-
  1804.   ods.  (See  Display)  When  loading an old
  1805.   screen it is often desirable to  see  what
  1806.   is  on  the  disk.  Version 3.33 and older
  1807.   provide directory information for a  given
  1808.   file  type  by entering a drive letter and
  1809.   <ENTER>. Version 3.50 adds the  capability
  1810.   to  directly import the file name into the
  1811.   command line by selecting  <Up  Arrow>  or
  1812.   <Down Arrow> when asked for the File Name.
  1813.  
  1814.   Origin  <Ctrl-x>  The normal screen origin
  1815.   is the top left corner. This is where both
  1816.   x  and y are zero in SCreen 1 PaGe 00. The
  1817.   origin can be moved  to  any  location  by
  1818.   positioning the cursor to the desired ori-
  1819.   gin and selecting <Ctrl-x>. This is can be
  1820.   very helpful for mechanical drawing.
  1821.  
  1822.   Outline  <F2 o> objects can be outlined in
  1823.   the color set by F10. Outline searches for
  1824.   the  change  between  the background color
  1825.   and the other colors and draws a  line  at
  1826.   the edge.
  1827.  
  1828.  
  1829.  
  1830.   DEFINITIONS 10-28
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.      Page  <Ctrl-Home>  64  pages are available
  1854.      for SCreen 1. Select <Ctrl-Home>  followed
  1855.      by the pan direction. <Down Arrow> scrolls
  1856.      the screen by 1/2 down. <Up Arrow> scrolls
  1857.      the   screen  by  1/2  up.  <Right  Arrow>
  1858.      scrolls the screen by 1/2  to  the  right.
  1859.      <Left  Arrow> scrolls the screen by 1/2 to
  1860.      the left. <PgUp> scrolls a full screen up.
  1861.      <PgDn>  scrolls a full screen down. <Home>
  1862.      returns to PaGe 00. <End> goes to the last
  1863.      screen  that  has  been created. Pages are
  1864.      stored in quarter screen files. To use all
  1865.      of  the files you must be operating from a
  1866.      subdirectory for the workspace. The  files
  1867.      are  created  on the disk only when a par-
  1868.      ticular page is  used.  <Ctrl-HOME>  twice
  1869.      returns  to  PaGe  00 without first saving
  1870.      the page you are on. Selecting  <?>,  <h>,
  1871.      or  <H>elp  when  asked  for PAN Direction
  1872.      will display a  map  of  the  64  screens,
  1873.      while  displaying the current location. At
  1874.      this point the cursor keys will  move  the
  1875.      display   box   around  as  desired  until
  1876.      <Enter> is  used  to  select.  <Esc>  will
  1877.      exit  back  to  page  you  where in before
  1878.      selecting <Ctrl-Home>.
  1879.  
  1880.      Paint <F5 p>, <F5 P>, <F5  Alt-p>  Objects
  1881.      can be painted with one of the four colors
  1882.      from the palette in the color mode or  one
  1883.      of  two  colors  in  high resolution using
  1884.      <p>. The border color and the  fill  color
  1885.      must  be  specified.  An  incorrect border
  1886.      color or gaps in the border will cause the
  1887.      paint  to  leak  out.  If this happens, be
  1888.      sure  to  respond  <n>o  to  the  "Correct
  1889.      (y/n)?"  prompt. <P> is identical in oper-
  1890.      ation to <p>, only it allows you to repeat
  1891.      the operation any number of times with the
  1892.      same  fill  and  border  color  simply  by
  1893.      selecting  <ENTER>.  29 colors/ shades can
  1894.      be used to paint with using <Alt-p>.
  1895.  
  1896.                               DEFINITIONS 10-29
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.   Paintbrush See Smear and Replicate for one
  1920.   type of  paintbrush.  Many  of  the  other
  1921.   functions  of PC-KEY-DRAW can also be used
  1922.   as a paintbrush by  properly  setting  the
  1923.   <B>ackground  so  that  when the object is
  1924.   moved around the screen an image  is  left
  1925.   behind in the color set by <B>ackground.
  1926.  
  1927.   Pan  <Ctrl-Home> SCreen 1 provides panning
  1928.   capability on an 8X8 page  layout.  Select
  1929.   <?>,  <h>, or <H> for help in panning. See
  1930.   PAGE.
  1931.  
  1932.   Parallel <F6  p>  Parallel  lines  can  be
  1933.   drawn at any angle by first marking one of
  1934.   the lines and then only  marking  one  end
  1935.   point  on all subsequent lines. Use <F6 e>
  1936.   to end the drawing of parallel  lines  and
  1937.   save the lines to the screen. All features
  1938.   of normal line drawing apply  to  parallel
  1939.   line drawing.
  1940.  
  1941.   PATH  Starting  with version 3.50, PC-KEY-
  1942.   DRAW will  recognize  subdirectories.  The
  1943.   subdirectories  for  the workspace and for
  1944.   completed drawings can be set in the  Sta-
  1945.   tus  Screen.  The drawing subdirectory can
  1946.   also be set in <F8 d>irectory or set  tem-
  1947.   porarily  for  a  given file when entering
  1948.   the File Name.  Since  subdirectory  names
  1949.   can  be  long  and cumbersome it is a good
  1950.   idea to use the SUBST command of  DOS.  If
  1951.   you  have  DOS  3.*  you can used SUBST to
  1952.   represent subdirectories, see the DOS man-
  1953.   ual.  Any  drive letter A-Z can be used to
  1954.   replace a long subdirectory specification.
  1955.   In  version  of  PC-KEY-DRAW prior to 3.50
  1956.   the SUBST command is the only way  to  use
  1957.   subdirectories.
  1958.  
  1959.  
  1960.  
  1961.  
  1962.   DEFINITIONS 10-30
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.      Patterns  <F5  f>,  <F5 Alt-f> 64 patterns
  1986.      are held in one pattern screen.  One  pat-
  1987.      tern  screen  is supplied with the PC-KEY-
  1988.      DRAW program disk, but you can  create  as
  1989.      many as you would like. Figure 10-10 shows
  1990.      the  patterns  of  KD-PTRN.PIC.  Some  are
  1991.      rather  useful,  while  others  are rather
  1992.      strange. Note the size and complexity that
  1993.      is  possible  with PC-KEY-DRAW as compared
  1994.      to other graphics programs.  Library  Disk
  1995.      #2   contains   nine   additional  pattern
  1996.      screens for a total of 640  patterns.  See
  1997.      section on Fill for how to use patterns.
  1998.  
  1999.      [pat1]
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.      Figure  10-10 KD-PTRN.PIC from the program
  2016.      disk. See Appendix H: for other patterns.
  2017.  
  2018.  
  2019.      Pause <Alt-p>, <F8  O  Alt-p>  Key  macros
  2020.      normally  play  back  at full speed. Occa-
  2021.      sionally it is  desirable  to  momentarily
  2022.      stop  the  execution  of  the macro with a
  2023.      pause statement. Set the number of seconds
  2024.      desired  to pause before continuing. Pause
  2025.      reads from the system clock  so  that  the
  2026.      pause time is independent of the computer.
  2027.  
  2028.                               DEFINITIONS 10-31
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.   PIC Extension used to  specify  format  of
  2052.   partial  screen  save  in  F7. This is the
  2053.   preferred extension  for  partial  screens
  2054.   since  it  uses  the  least amount of disk
  2055.   space and is therefore the default  exten-
  2056.   sion.  Screens  saved with a PIC extension
  2057.   can be called into  a  BASICA  program  by
  2058.   adding  the  following  lines to your pro-
  2059.   gram:
  2060.  
  2061.       0005 'Dimension array large enough  to
  2062.            handle image.
  2063.       0010 DIM ARRAY%(500)
  2064.       1000 'Find location of array
  2065.       1010 ALOC%=VARPTR(ARRAY%(0))
  2066.       1020 'Binary file load to array
  2067.       1030 BLOAD "FILENAME.PIC",ALOC%
  2068.       1040 'Put image onto graphics screen
  2069.       1050 PUT(0,0),ARRAY%
  2070.  
  2071.   To  save  an  image  in BASICA that can be
  2072.   called up in PC-KEY-DRAW add the following
  2073.   lines to your program:
  2074.  
  2075.       0005  'Dimension array large enough to
  2076.             handle image.
  2077.       0010 DIM ARRAY%(500)
  2078.       0900 'load image into array  with  the
  2079.            GET function
  2080.       0910 'See BASIC manual for info
  2081.       1000 XSIZ%=ARRAY%(0)
  2082.       1010 YSIZ%=ARRAY%(1)
  2083.       1020 N%=(4+((XSIZ%+7)\8)*YSIZ%)\2
  2084.       1030 'Find location of array
  2085.       1040 ALOC%=VARPTR(ARRAY%(0))
  2086.       1050 'Binary save of array
  2087.       1060 BSAVE "FILENAME.PIC",ALOC%,N%
  2088.  
  2089.   See BAS for an alternate way to include an
  2090.   image in a  BASICA  program  that  doesn't
  2091.   require  an  external file of the image to
  2092.   be on the disk with the program.
  2093.  
  2094.   DEFINITIONS 10-32
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.      Play <Ctrl-p> music can be played for  fun
  2118.      or  as  part  of a macro. The music syntax
  2119.      follows that of BASICA  exactly.  See  the
  2120.      BASICA manual for more information.
  2121.  
  2122.      Playback  <Alt-k  r>  Previously  recorded
  2123.      keyboard  sequences  can  be  played  back
  2124.      (<r>un)  from  disk. See Key Macro. If you
  2125.      are creating a slide  show  to  play  back
  2126.      then  it  is  a  good  idea to disable the
  2127.      printing of the prompt line by setting <*>
  2128.      to  1 or 2 during recording. Higher values
  2129.      of <*> can be used to speed  up  playback,
  2130.      but  with  some lose of features. *|3 in a
  2131.      macro will speed up  circle,  sine,  rose,
  2132.      and  rectangle  by  not drawing the object
  2133.      until  the  final  size  is  reached.  *|4
  2134.      speeds  Fatbits  by  not  switching to the
  2135.      separate Fatbits screen  and  speeds  line
  2136.      drawing  by  not displaying the line as it
  2137.      is being positioned. * commands  are  best
  2138.      added  to  macros  with  a text editor and
  2139.      take effect absolutely, ie.  *|2  followed
  2140.      by *|1 results in the *|1 being the active
  2141.      level. This differs from  earlier  version
  2142.      where * commands where cumulative.
  2143.  
  2144.      Polar   Coordinates  The  cursor  position
  2145.      readout contains not  only  the  x  and  y
  2146.      positions,  but  the  distance to the last
  2147.      measure point and the angle to the  point,
  2148.      and  thus  provides  continuous display of
  2149.      polar coordinates with  cartesian  coordi-
  2150.      nates.
  2151.  
  2152.      Polygon  <F2  p>  Regular  polygons of any
  2153.      number of sides can be dynamically  drawn.
  2154.      The  polygon can be rotated as it is being
  2155.      drawn by using the <[>  and  <]>  keys  to
  2156.      rotate  at  angle  steps set by the cursor
  2157.      speed or <{>  and  <}>  to  rotate  in  90
  2158.      degree increments.
  2159.  
  2160.                               DEFINITIONS 10-33
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.   Print <F8 p> If  a  graphics  screen  dump
  2184.   program is loaded the screen can be dumped
  2185.   to a dot matrix printer using <PrtSc>. The
  2186.   print  routine  allows the 25th line to be
  2187.   positioned before printing with a title as
  2188.   desired. If you have an Okidata 92 be sure
  2189.   to set the configuration printer to 1. The
  2190.   Configuration  Screen  also  allows you to
  2191.   alter the printout  size  for  an  Okidata
  2192.   printer.
  2193.  
  2194.   Printer  Support  The zoom printer feature
  2195.   of PC-KEY-DRAW allows you to configure  it
  2196.   to  virtually  any  printer  that can take
  2197.   continuous paper. Single sheet printing is
  2198.   currently  limited to most Okidata 92, 93s
  2199.   or Epson/IBM graphics compatibles. If  you
  2200.   would  like to donate a printer to OEDWARE
  2201.   we would be happy to write a driver to  go
  2202.   with   the  program  for  that  particular
  2203.   printer.
  2204.  
  2205.   Quality <Q> <Alt-q>  The  quality  of  the
  2206.   cursor movement can be toggled with <Q>. A
  2207.   "Q" will appear on the prompt  line  indi-
  2208.   cating that the quality is turned on. With
  2209.   the quality turned off  the  cursor  moves
  2210.   quicker  by  skipping  an occasional step.
  2211.   With the  quality  turned  on  the  cursor
  2212.   moves  slightly  slower, but does not skip
  2213.   steps. When the key board macro is set the
  2214.   quality  is automatically turned on. If it
  2215.   is turned backed off during recording  the
  2216.   playback  of the macro will not faithfully
  2217.   reproduce the original. The <Q>uality com-
  2218.   mand  also effects the way a mouse or joy-
  2219.   stick behave. Generally the mouse and joy-
  2220.   stick  "feel"  the best when the <Q>uality
  2221.   is  off.  During  macro  recording,   with
  2222.   quality  on  the mouse and joystick motion
  2223.   is converted to  equivalent  key  strokes,
  2224.   which slows down the cursor movement. When
  2225.  
  2226.   DEFINITIONS 10-34
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.      using PC-KEY-DRAW as a paint  program  the
  2250.      cursor  position readout can be turned off
  2251.      with <Alt-q>. Use  <Alt-q>  to  toggle  it
  2252.      back  on.  Note  that  the cursor speed is
  2253.      greatly increased with the readout off.
  2254.  
  2255.      RAM disk PC-KEY-DRAW is  written  to  make
  2256.      significant  use  of a RAM disk. A 40K RAM
  2257.      disk is the smallest  that  can  be  used,
  2258.      while  the  maximum is over 1Meg! Some may
  2259.      be wondering how such a large RAM disk  is
  2260.      possible  with  a  standard PC. I strongly
  2261.      recommend the use of  an  extended  memory
  2262.      card such as the JRAM-2 by Tall Tree Asso-
  2263.      ciates which allows up to 2megs per expan-
  2264.      sion  slot.  A RAM disk is not only useful
  2265.      for this program, but you will  find  many
  2266.      other uses. Minimum PC RAM should be about
  2267.      2Megs for maximum use of your machine.
  2268.  
  2269.      Recording <Alt-k c> Every key  stroke  hit
  2270.      can  be  recorded  and  saved  to an ASCII
  2271.      sequential  file  for  later  playback  by
  2272.      using  the <c>reate command. See Key Macro
  2273.      for more information.
  2274.  
  2275.      Registration Registered users get support,
  2276.      low  cost  updates,  printed manual, extra
  2277.      library disks, support programs and a good
  2278.      feeling. See Shareware.
  2279.  
  2280.      Rename  <F8  K> disk files can be renamed.
  2281.      Enter the file to be renamed and  the  new
  2282.      name of the file. Include the drive of the
  2283.      file. It is not possible to  rename  to  a
  2284.      different disk.
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.                               DEFINITIONS 10-35
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.   Replicate <F7 r>, <F7 R>, <F7 Ctrl-r>, <F7
  2316.   Alt-r>  Once an object is copied it can be
  2317.   moved and replicated. Each  touch  of  the
  2318.   cursor  will  step  the size of the object
  2319.   until moved with <F7 M>. This can be  used
  2320.   for  a variety of applications. The syntax
  2321.   of replicate is  the  same  as  smear  and
  2322.   move.
  2323.  
  2324.   Resolution  Set <Alt-r> The screen resolu-
  2325.   tion can be set to 640X200. Use <Shft-Tab>
  2326.   to  toggle  between  640X200  and 320X200.
  2327.   See Mode.
  2328.  
  2329.   Retrieve file See Old.
  2330.  
  2331.   Revolve <F1 R> Three dimensional appearing
  2332.   objects can be created as objects of revo-
  2333.   lution by first drawing the cross  section
  2334.   then  revolving  it.  User  sets number of
  2335.   steps and view angle. This can be  a  very
  2336.   powerful   command.   Figure  10-11  is  a
  2337.   Christmas card.  The  Christmas  tree  was
  2338.   created  by  drawing  one side of the tree
  2339.   outline and then by revolving the  outline
  2340.   about   the  center.  Figure  10-12  shows
  2341.   another sample of revolve.
  2342.  
  2343.       [xmas]
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.   Figure 10-11 Christmas card.
  2357.  
  2358.   DEFINITIONS 10-36
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.          [fairlead]
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.      Figure 10-12 Fairlead created by revolving
  2394.      part of a circle.
  2395.  
  2396.  
  2397.      Reverse video See Video.
  2398.  
  2399.      Rose  curves  <F3  r> Sine and cosine rose
  2400.      curves of any number of leaves  are  drawn
  2401.      to size of circle set with cursors.
  2402.  
  2403.      Rotate  <F1  r>,  <F1 Alt-r>, <F1 Ctrl-r>,
  2404.      <F6 o>,  <F6  O>,  <F1  a>,  <F1  A>,  <F1
  2405.      Ctrl-a>,  <F1  Alt-a>,  <[>, <]>, <{>, <}>
  2406.      can be used to rotate any  object  on  the
  2407.      screen.  The object may be rotated once or
  2408.      a multiple of times  (steps).  *C*-In  the
  2409.      color  mode  <r> will rotate only the cur-
  2410.      rent active color as  selected  by  <F10>,
  2411.      while   <Alt-r>  will  rotate  all  colors
  2412.      within the  defined  region.  <F1  Ctrl-r>
  2413.      will rotate the entire left portion of the
  2414.      screen 90 degrees. Use <F1 a> to rotate an
  2415.      object  again,  without  redefining it. If
  2416.      the object was first rotate with all color
  2417.      (<F1  Alt-r>) then all colors will be used
  2418.      in the again rotate otherwise  the  active
  2419.      color selected with <F10> determines which
  2420.      color is used. <F1 Alt-a> will rotate  the
  2421.      object  that  was just zoomed. <F1 A> will
  2422.      rotate and zoom the  object  at  the  same
  2423.  
  2424.                               DEFINITIONS 10-37
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.   time. <F1 Ctrl-a> will rotate again  after
  2448.   switching  from all color rotate to single
  2449.   color rotate or vice versa. In  F6  vector
  2450.   objects  can  be  created and saved. Using
  2451.   <F6 o> or <F6 O> they can be  called  back
  2452.   and  rotated  to any angle. <[>, <]>, <{>,
  2453.   and <}> can be used to rotate  the  cursor
  2454.   position  about  the  <m>easure point. See
  2455.   Angle for more information.
  2456.  
  2457.   Save <F6 E>, <F7 Ctrl-e> <F7  C>,  <F8  s>
  2458.   There  are  five  different  ways  to save
  2459.   objects and screens.  <F6  E>nds  &  saves
  2460.   objects  drawn  with line as vectors (VCT)
  2461.   to the disk for  later  use.  <F6  Ctrl-e>
  2462.   saves  a  previously  created line. <F7 C>
  2463.   saves objects or  entire  screens  to  the
  2464.   disk  in  one  of three ways. See Copy for
  2465.   use. <F8 s> is the common way  to  save  a
  2466.   complete screen for later use. The screens
  2467.   are  given  a  SCN   extension   and   are
  2468.   retrieved  with  <F8  o>. A second file is
  2469.   saved with a screen that gives  its  scal-
  2470.   ing,  if other then the default, and has a
  2471.   DAT extension. Each  screen,  page,  layer
  2472.   must be saved independently.
  2473.  
  2474.   Scale  <Alt-m> The scale of the drawing is
  2475.   normally set when the program  is  entered
  2476.   or  following a fresh screen. When setting
  2477.   the scale on entering PC-KEY-DRAW or after
  2478.   a  fresh screen, you should set the effec-
  2479.   tive size of the screen,  not  the  actual
  2480.   size  of the screen, ie. you might set the
  2481.   screen to 40 ft. to draw a house,  20  in.
  2482.   to  draw a small part, or 50 miles to draw
  2483.   a map. The scale can also be set by match-
  2484.   ing  a measured distance to a desired dis-
  2485.   tance. Select <m> at one point, move  cur-
  2486.   sor  to  desired  position, select <Alt-m>
  2487.   and enter in the desired value of the dis-
  2488.   tance.
  2489.  
  2490.   DEFINITIONS 10-38
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.      Scale  Factor  <F1 z>, <F1 Z>, <F1 Alt-z>,
  2514.      <F6 o>, <F6 O> When zooming you must enter
  2515.      the  scale  factor. A scale factor greater
  2516.      than 1 shrinks the object or screen, while
  2517.      a  scale  factor  less  then 1 expands the
  2518.      screen. Select </>, <Space Bar>, or second
  2519.      mouse  button  to  enter  the  zoom factor
  2520.      instead of the scale factor.
  2521.  
  2522.      SCN Screen-see Save and Old. This  is  the
  2523.      default  extension  and  indicates  a full
  2524.      graphics screen save. This  is  compatible
  2525.      with screens saved in BASICA using a BSAVE
  2526.      command. To call a screen into BASICA that
  2527.      was  saved  with  <F8 s> add the following
  2528.      lines to your BASICA program:
  2529.  
  2530.          0010 'set screen to graphics mode
  2531.          1000 'set segment  to  color  graphics
  2532.               screen memory
  2533.          1010 DEF SEG=&HB800
  2534.          1015 'Binary image load
  2535.          1020 BLOAD "FILENAME.SCN",0
  2536.          1025 'Return segment
  2537.          1030 DEF SEG
  2538.  
  2539.      To  save  a  screen  in BASICA that can be
  2540.      later called into PC-KEY-DRAW add the fol-
  2541.      lowing lines to your BASICA program:
  2542.  
  2543.          1000 'with drawing on screen
  2544.          1010 DEF SEG=&HB800
  2545.          1020 BSAVE "FILENAME.SCN",0,16384
  2546.          1030 DEF SEG
  2547.  
  2548.      See  BAS for an alternate way of including
  2549.      a screen image in a BASICA program.
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.                               DEFINITIONS 10-39
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.   Screen   <Ctrl-Home>,  <Ctrl-End>,  <Ctrl-
  2580.   PgUp>, <Ctrl-PgDn>  Multiple  screens  are
  2581.   available.   They  can  be  used  to  draw
  2582.   objects larger than the screen or  to  use
  2583.   as  temporary  workspaces.  There  are two
  2584.   primary screens and two secondary screens.
  2585.   The  primary  screens  are "connected" and
  2586.   can  be  scrolled  using  <Ctrl-PgUp>  and
  2587.   <Ctrl-PgDn>  in quarter screen increments.
  2588.   <Ctrl-Home> and <Ctrl-End> toggle  between
  2589.   the  two  screens.  The last object copied
  2590.   can be viewed on SCreen  F7  by  selecting
  2591.   <Ctrl-PgDn>  from SCreen 2. <F1 Z>oom will
  2592.   not change the drawing scale  if  used  in
  2593.   SCreen  F7. The 25th line or title line is
  2594.   available to  be  viewed  or  modified  by
  2595.   selecting   <Ctrl-PgDn>   one  more  time.
  2596.   SCreen 1 can actually be one of 64 differ-
  2597.   ent  pages.  The extra pages are stored on
  2598.   the workspace disk. Pages  are  stored  in
  2599.   quarter  screen blocks allowing horizontal
  2600.   and vertical scrolling. 1 megabyte of disk
  2601.   is  needed to use a full 64 pages and this
  2602.   is where a RAM disk can  really  pay  off.
  2603.   You  should  set up a subdirectory for the
  2604.   workspace.
  2605.  
  2606.   Screen Aspect Ratio <$> The screen  aspect
  2607.   ratio  can  be  varied  for  a  variety of
  2608.   results. The main use of the  setting  the
  2609.   aspect ratio is to get a circle that looks
  2610.   round on your monitor or you may  want  to
  2611.   adjust the aspect ratio so that the screen
  2612.   dump is round. <r>otation  and  <Z>oom  of
  2613.   <F1>  are  cleanest  if an aspect ratio of
  2614.   1.0 in color or 2.0 in high resolution  is
  2615.   used.
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.   DEFINITIONS 10-40
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.      Shade  <F2 s>, <F2 S>, <F4 l>, <F4 m>, <F4
  2646.      d>, <F4 s>, <F4 Alt-s> Various methods  of
  2647.      shading  the  drawing  are available. <F2>
  2648.      <s> or <S> produces a rectangular  pattern
  2649.      (see  Box).  <F4>  will  fill an irregular
  2650.      area with dots of the color set by  <F10>.
  2651.      It  may  take several times to fill a very
  2652.      irregular area. <F4 s> spray  paints  (see
  2653.      Spray paint).
  2654.  
  2655.      Shareware  is  the  form  of  distribution
  2656.      being used with PC-KEY-DRAW. Shareware  is
  2657.      commercial  software  with  a  difference.
  2658.      Shareware can be legally copied and shared
  2659.      with others, provided it is distributed in
  2660.      its entirety and not modified. Users  that
  2661.      find  the program to be of use to them are
  2662.      requested to register.  Registration  pro-
  2663.      vides  many  benefits  to the user. If you
  2664.      register PC-KEY-DRAW you will receive:
  2665.  
  2666.        .  Printed  Users  Manual  in  IBM  size
  2667.          binder with information on getting the
  2668.          most out  of  PC-KEY-DRAW,  (it  looks
  2669.          nice on your shelve too).
  2670.        .  Second  library disk (see Appendix H)
  2671.          with  640+  fill   patterns,   several
  2672.          library  pictures and many very useful
  2673.          macros.
  2674.        . Third library disk with 14 extra fonts
  2675.          and text oriented macros.
  2676.        .  Fourth  library  disk with more fonts
  2677.          and flow chart symbols.
  2678.        . HP LaserJet printer support.
  2679.        . Registered version of the program with
  2680.          name in the program code.
  2681.        .  Telephone  or  mail  support when you
  2682.          need help, for one year  after  regis-
  2683.          tration.  Phone  support  is available
  2684.          from 8:00 am to 9:00 pm seven  days  a
  2685.          week.
  2686.  
  2687.  
  2688.                               DEFINITIONS 10-41
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.     . Notification of updates and the  abil-
  2712.       ity  to  update  for  only $10 for the
  2713.       l a t e s t                  d i s k .
  2714.  
  2715.   Registration helps you in other ways:
  2716.  
  2717.     .  You are supporting the shareware con-
  2718.       cept.
  2719.       1. You can try the software before you
  2720.          buy it.
  2721.       2.  You pay a reasonable price for you
  2722.          software.
  2723.       3. You avoid the frustration  of  copy
  2724.          protection.
  2725.       4.  You  encourage  others  to develop
  2726.          shareware.
  2727.     . You are also  supporting  new  OEDWARE
  2728.       developments.   PC-KEY-DRAW   is  con-
  2729.       stantly being improved,  your  support
  2730.       is needed and appreciated.
  2731.  
  2732.       [share]
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.   Figure   10-13   Like  public  television,
  2745.   shareware is supported by those  who  find
  2746.   it valuable.
  2747.  
  2748.  
  2749.   Shift  <F5  s>  The  foreground colors are
  2750.   each shifted up by one. The background  is
  2751.   not  affected.  Shift  works on the entire
  2752.   screen.
  2753.  
  2754.   DEFINITIONS 10-42
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.      Shift Cursor Using the <Shift>  key  while
  2778.      drawing  rectangles  allow you to move the
  2779.      fixed corner. If the <Shift> key  is  used
  2780.      while drawing circles or ellipses the cen-
  2781.      ter of the circle is moved.  <Shift>  used
  2782.      with a joystick or mouse works the same as
  2783.      with the keyboard allowing the fixed point
  2784.      to be moved.
  2785.  
  2786.      Show  <s>,  <S> The cursor and prompt line
  2787.      can be removed from the screen.  This  can
  2788.      be used when taking pictures of the screen
  2789.      with a 35mm camera.  Selecting  <s>  shows
  2790.      only  the  active  screen, while <S> shows
  2791.      both the active screen and a visual  layer
  2792.      if  layering is turned on. If show is used
  2793.      as part of a macro the  macro  will  pause
  2794.      indefinitely  until  a  key is hit. During
  2795.      macro execution a "_" will appear  in  the
  2796.      bottom right corner of the screen indicat-
  2797.      ing that the macro is waiting for a key to
  2798.      be hit.
  2799.  
  2800.      Sine   curve  <F3  t>  Trigonometric  sine
  2801.      curves of desired period and amplitude are
  2802.      shaped by moving the cursor.
  2803.  
  2804.      Slide   <F1   s>,   <F1  S>,  <F1  Ctrl-s>
  2805.      <s>-slides an area of  the  screen  either
  2806.      horizontally  or  vertically. This is very
  2807.      useful for creating a variety of  effects,
  2808.      including  italics  (use  a step of 15 for
  2809.      italics). <S> slides  the  entire  screen.
  2810.      <Ctrl-s>  slides  the entire screen to the
  2811.      power set, either 2,3, or 4.
  2812.  
  2813.      Slide Show The key macro  command  can  be
  2814.      used  to create a very powerful slide show
  2815.      quickly and  easily.  See  Key  Macro  for
  2816.      details.
  2817.  
  2818.  
  2819.  
  2820.                               DEFINITIONS 10-43
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.   Smear <F7 s>, <F7  S>,  <F7  Ctrl-s>,  <F7
  2844.   Alt-s> Previously copied or erased objects
  2845.   can be smeared across the screen in one of
  2846.   four   syntaxes.  Among  other  uses  this
  2847.   allows the creation  of  a  paintbrush  of
  2848.   sorts.  The  cursor  speed  determines the
  2849.   step of  the  smear.  Like  replicate  the
  2850.   smear  will  continue  until the object is
  2851.   moved with <F7 M>.
  2852.  
  2853.   Speed <F9>, <+>, <-> Cursor  speed,  smear
  2854.   size,  and  animation speed are controlled
  2855.   by <F9>.  The  speed  is  can  be  toggled
  2856.   between  one  for  fine  movement  and any
  2857.   value as set by  using  the  <+>  and  <->
  2858.   keys.  Cursor  speed  is  displayed on the
  2859.   prompt line. The speed can be forced to  1
  2860.   using <Shft-F9>, no matter what it is cur-
  2861.   rently. This is useful in creating certain
  2862.   key macros.
  2863.  
  2864.   Spirals <F3 s> Automatic spiral generation
  2865.   is possible using <F3 s>  by  marking  the
  2866.   center  and the size of the first coil and
  2867.   then the number.
  2868.  
  2869.   Spoke <F6 s> Spoked lines  from  a  common
  2870.   center can be generated quickly, since the
  2871.   center is only marked once.  Spoked  lines
  2872.   can  be combined with lines, dots and par-
  2873.   allel lines. Use <F6  e>  to  end  drawing
  2874.   spoked lines.
  2875.  
  2876.   Spray  paint <F4 s>, <F4 Alt-s> Previously
  2877.   drawn  and  painted  areas  can  be  spray
  2878.   painted  to  produce 3D type shading. With
  2879.   the screen aspect ratio set to its  normal
  2880.   values  the  spray painting will produce a
  2881.   circular pattern. If <$> is  selected  and
  2882.   set to 0 (zero) the spraying directive can
  2883.   be used to shade a vertical column. Figure
  2884.   10-14  was  created  in  a short period of
  2885.  
  2886.   DEFINITIONS 10-44
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.      time by  making  extensive  use  of  spray
  2910.      paint.  Setting  the  background  color to
  2911.      something other than 0 can be very  useful
  2912.      and effective when used with spray paint.
  2913.  
  2914.         [joes]
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.      Figure  10-14  Eat at Joes is an Ed Kidera
  2928.      original created  with  extensive  use  of
  2929.      spray paint.
  2930.  
  2931.  
  2932.      Status  <Ctrl-s>  See  Configure  for more
  2933.      information.
  2934.  
  2935.      Strip <F5 S> All of the foreground colors,
  2936.      except the one set by <F10> are set to the
  2937.      background. This can be useful for  print-
  2938.      ing  or  photographing the screen. Be sure
  2939.      to save the screen before you strip it, if
  2940.      you want it back whole later.
  2941.  
  2942.      Subdirectories See PATH
  2943.  
  2944.      SUBST SUBST is a DOS 3.* command that pro-
  2945.      vides an ideal method  of  shortening  the
  2946.      subdirectory  strings  used on a hard disk
  2947.      by allowing a single drive letter to  rep-
  2948.      resent a the subdirectory string. See your
  2949.      DOS manual for information on its use. The
  2950.      following  line  in  an AUTOEXEC.BAT would
  2951.  
  2952.                               DEFINITIONS 10-45
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.   make  drive  G: represent the subdirectory
  2976.   \FILES\KEYDRAW  on  drive   C:   -   SUBST
  2977.   g:=c:\files\keydraw.  You  must  also have
  2978.   LASTDRIVE=Z in your CONFIG.SYS file.
  2979.  
  2980.   Suspend <Space Bar>  During  line  drawing
  2981.   and  cursor  drawing  under F6 it is often
  2982.   desirable to temporarily  suspend  drawing
  2983.   to  reposition  the cursor. Use the <Space
  2984.   Bar> or second mouse button to stop  draw-
  2985.   ing  and display the cursor. When ready to
  2986.   continue hit the <ENTER>.
  2987.  
  2988.   Template <F6 o>, <F7 o>, <F8  Ctrl-o>  See
  2989.   Old,  Lines,  Copy, and End for discussion
  2990.   on the use of vectors and figures for tem-
  2991.   plate purposes. <F8 Ctrl-o> allows another
  2992.   method  of  templating.  Previously  saved
  2993.   screens  of symbols can be called onto the
  2994.   screen with  template  in  much  the  same
  2995.   fashion  as  calling  old  screens. In the
  2996.   template mode the updating  of  the  work-
  2997.   space is disabled. Objects on the template
  2998.   can be manipulated at will and then copied
  2999.   and  moved  with  <F7>. Selecting <F8> <w>
  3000.   or <W> returns updating of  workspace.  If
  3001.   no name is specified for the template file
  3002.   the present screen or a fresh one  may  be
  3003.   used  to  create  part  of a drawing to be
  3004.   added to the working drawing.
  3005.  
  3006.   Text <F6 t>,  <F6  T>,  <F6  Ctrl-t>,  <F6
  3007.   Alt-t>  <t>  allows  text  to  be  entered
  3008.   directly on the drawing. <T> justifies the
  3009.   text  to  the  left, right, or center. <T>
  3010.   also allows ASCII text to be imported  and
  3011.   text  to be displayed up or down. <Ctrl-t>
  3012.   copies the text and  animates  it  to  aid
  3013.   placement  as  desired.  Two sizes of text
  3014.   are available directly for <t>,  <T>,  and
  3015.   <Ctrl-t>.  The  size  is determined by the
  3016.   screen mode. <Alt-t> allows  the  user  to
  3017.  
  3018.   DEFINITIONS 10-46
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.      write with bitmapped text fonts. Fonts can
  3042.      be created by the user using all  features
  3043.      of  the  program and saved with <F7 C>, by
  3044.      specifying a  "FNT"  ending  to  the  file
  3045.      name.  A  very  wide variety of text sizes
  3046.      and  forms  can  be  created  quickly  and
  3047.      easily  with <F1 z> and <F7> <c>, <S>, and
  3048.      <M>. Figure 10-15 shows a 3-D text created
  3049.      from a standard font.
  3050.  
  3051.          [3dtext]
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.      Figure 10-15 Title slide for presentation.
  3064.  
  3065.  
  3066.      Text  Scrolling  <F6 T L>, <F6 T R>, <F6 T
  3067.      C>, <F6 T A> When entering text it is pos-
  3068.      sible  to  have  the entire screen scroll.
  3069.      This is useful for slide show macros,  but
  3070.      not of much use for general drawing. <F6 T
  3071.      A> is useful for finding  the  part  of  a
  3072.      file  needed  and works very much like the
  3073.      TYPE command of DOS. Hit any key  to  stop
  3074.      the scrolling.
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.                               DEFINITIONS 10-47
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.   Time <Alt-t> the DOS time can be displayed
  3108.   on  the  screen  at  a specified location.
  3109.   Some operations may capture the time  into
  3110.   the  drawing.  This  is intended primarily
  3111.   for use in macros that are set to run con-
  3112.   tinuously in a store or at a show where it
  3113.   might be nice to keep the viewers informed
  3114.   of the time. (see also Date)
  3115.  
  3116.   Translation  Macro  files consist of a key
  3117.   stroke code followed by |  (vertical  bar)
  3118.   followed  by  the  number  of repetitions.
  3119.   While MaCRo files can be edited with  most
  3120.   word  processors  it  is  a  little tricky
  3121.   because key stroke codes are difficult  to
  3122.   read  and  interpret. KD-TRANS.EXE is pro-
  3123.   vided to translate a  MaCRo  file  into  a
  3124.   TeXT  file  where the key stroke codes are
  3125.   replaced with the actual name of the  key,
  3126.   such  as "RIGHT" for right cursor key. The
  3127.   resulting TeXT file is easily edited.  Use
  3128.   KD-TRANS.EXE  to  take  the  TeXT file and
  3129.   translate it back into a MaCRo file.  TeXT
  3130.   files  are  much  larger than MaCRo files.
  3131.   KEYTBL.DAT is used by  KD-TRANS.  See  KD-
  3132.   TRANS.EXE and MAKHOTLIB.EXE for additional
  3133.   information.
  3134.  
  3135.   Unfade  <F4  Ctrl-f>  Small  holes  in  an
  3136.   object  can be filled in with <F4 Ctrl-f>.
  3137.   The routine uses the surrounding colors to
  3138.   determine  the  appropriate  color to use.
  3139.   Unfade is  still  experimental  and  works
  3140.   best on simple rectangular objects.
  3141.  
  3142.   Up  <F6  T u> Runs text up vertically from
  3143.   the current cursor position.
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.   DEFINITIONS 10-48
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.      Update <u>, <U>  Updates  the  appropriate
  3174.      workspace  with  the  current  screen (see
  3175.      Workspace). Beware  that  <u>  updates  to
  3176.      SCreen  1  and <U> updates to SCreen 2, no
  3177.      matter what screen you are  currently  in.
  3178.      This  means  that the previous contents of
  3179.      the screen will be lost.
  3180.  
  3181.      Update Frequency  is  set  in  the  Status
  3182.      Screen  and determines how often the work-
  3183.      space will be  automatically  written  to.
  3184.      If the update frequency is set to zero the
  3185.      use of workspaces is  disabled.  Disabling
  3186.      the  workspace  is  ideal  for  slide show
  3187.      macros.
  3188.  
  3189.      VCT Vectors-see Lines.
  3190.  
  3191.      Video  <F1  v>,  <F1  V>,  <F1  Ctrl-v>  A
  3192.      reversed  video  image is produced. Useful
  3193.      in printing certain screens. The following
  3194.      table   indicates   how   the  colors  are
  3195.      switched.
  3196.  
  3197.           <v>         <V>        <Ctrl-v>
  3198.  
  3199.       0 becomes 3    0 becomes 1    0 becomes 2
  3200.       1 becomes 2    1 becomes 0    1 becomes 3
  3201.       2 becomes 1    2 becomes 3    2 becomes 0
  3202.       3 becomes 0    3 becomes 2    3 becomes 1
  3203.  
  3204.      Video Modes PC-KEY-DRAW currently operates
  3205.      in  the  two  graphic  video  modes of the
  3206.      Color Graphics Card (CGA). The  modes  are
  3207.      320X200  medium  resolution  with 4 colors
  3208.      and 640X200 high resolution with 2 colors.
  3209.      To  switch  modes use <Shft-Tab> to toggle
  3210.      between the modes or <Ctrl-r> to force the
  3211.      program  to  the  high resolution mode. To
  3212.      save high resolution as the  default  mode
  3213.      select: <Ctrl-r Ctrl-s Ctrl-s>
  3214.  
  3215.  
  3216.                               DEFINITIONS 10-49
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.   Video Object Reverse <v> During  animation
  3240.   selecting <v> will perform a reverse video
  3241.   on the animated object and  then  continue
  3242.   with the animation.
  3243.  
  3244.   Visual  Horizon  <Alt-v>  Sets  the lowest
  3245.   point on the screen that the cursor can be
  3246.   moved.  This  is most useful during anima-
  3247.   tion. The animated object can be  made  to
  3248.   disappear  behind  a screen object or rise
  3249.   up from behind the horizon.
  3250.  
  3251.   Visual Layer When using layers only one is
  3252.   active  but  many can be visual, ie can be
  3253.   seen while drawing on  the  active  layer.
  3254.   The  visual  layer  consists of all of the
  3255.   visual  layers  combined  into   one   and
  3256.   resides  in  SCreen  2. When layers are on
  3257.   SCreen 2 is laid over SCreen 1.
  3258.  
  3259.   Width  <w>  The  width  for  lines,  dots,
  3260.   boxes,  and circles can be set to any num-
  3261.   ber of pixels from 1 to 32. The width  can
  3262.   be  set  greater  than 32, but it won't be
  3263.   properly used by lines, but will  be  used
  3264.   by circles and rectangles.
  3265.  
  3266.   Workspace  <F8  w>,  <F8  W>  Two separate
  3267.   workspaces are available to  save  screens
  3268.   while  working  (see  Update).  <w> corre-
  3269.   sponds to screen #1 and <W> corresponds to
  3270.   screen #2. The workspace has several uses.
  3271.   Originally it  was  added  to  retain  the
  3272.   drawing  in the event of program crash and
  3273.   while that is no longer a concern, it  can
  3274.   be useful in the event of a power failure.
  3275.   The workspace can also be used  as  tempo-
  3276.   rary  storage.  This would let you back up
  3277.   in the event of a change of  mind  or  let
  3278.   you   preform  multiple  operations  on  a
  3279.   single screen. The workspace is stored  on
  3280.   the  drive  specified  in  the  Configura-
  3281.  
  3282.   DEFINITIONS 10-50
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.      tion/Status Screen. The program will peri-
  3306.      odically  save  to the workspace depending
  3307.      on the update frequency. The update can be
  3308.      forced  at any time, from the CURSOR MODE,
  3309.      with <u>pdate to take the screen  you  are
  3310.      looking  at  and  save  it as SCreen 1 and
  3311.      <U>pdate to take  the  visual  screen  and
  3312.      save  it  to  SCreen 2. WRKSPC1.SCN corre-
  3313.      sponds to SCreen 1, while WRKSPC2.SCN cor-
  3314.      responds to SCreen 2.
  3315.  
  3316.      XOR  <F1  Alt-v>  The entire screen can be
  3317.      XORed with a number from 1 to 255. An  XOR
  3318.      of  255  produces  a  reverse  video image
  3319.      (see Video). The  program  will  assign  a
  3320.      random  number  to  use  or  the  user may
  3321.      select any value between 1 and 255.
  3322.  
  3323.      Zoom <F1 z>, <F1 Z>, <F6 o>, <F6 O>  Sizes
  3324.      of objects can be changed in three differ-
  3325.      ent ways. <F1 z> is used to either enlarge
  3326.      or  shrink  a  defined object. <F1 Z> will
  3327.      reduce the entire screen by any amount  or
  3328.      expand  the top left corner of the screen.
  3329.      Screen scaling is changed accordingly,  if
  3330.      the  screen  is set to 1 or 2, but it will
  3331.      leave  the  present  scale  when  used  in
  3332.      SCreen F7. <F6 O>, <o> will allow a vector
  3333.      to be sized  to  fit  the  drawing  or  as
  3334.      desired  (see Old and Line). All three use
  3335.      the same convention of scaling.  A  number
  3336.      greater than one will shrink the object or
  3337.      screen. For example a factor of  two  will
  3338.      cut the object in half. A number less than
  3339.      one will  enlarge  objects.  Figure  10-16
  3340.      shows  the use of <Z>oom. The main drawing
  3341.      was first completed, then  zoomed  down  a
  3342.      factor of 4, and placed back on the screen
  3343.      to produce the painting on the fireplace.
  3344.  
  3345.  
  3346.  
  3347.  
  3348.                               DEFINITIONS 10-51
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.       [xmas]
  3372.  
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383.  
  3384.   Figure 10-16 Christmas Card
  3385.  
  3386.  
  3387.   Zoom  Factor  <F1  z>, <F1 Z>, <F1 Alt-z>,
  3388.   <F6 o>, <F6 O> normally you are  asked  to
  3389.   enter  the  scale  factor when zooming. By
  3390.   selecting the </> or <Space Bar> or second
  3391.   mouse button you can specify the zoom fac-
  3392.   tor instead of the scale  factor.  A  zoom
  3393.   factor  greater than 1 enlarges the object
  3394.   or screen, while a zoom factor less then 1
  3395.   shrinks  the screen or object. For example
  3396.   a zoom factor of 2 would double  the  size
  3397.   of the object.
  3398.  
  3399.   Zoom  Print  <F8 P>, <F8 Ctrl-p>, <Ctrl-p>
  3400.   prints partial screens to a  printer.  <P>
  3401.   prints  the  entire screen to the printer.
  3402.   Printing is done  by  characters  and  not
  3403.   graphics  so  virtually any printer can be
  3404.   used, provided a printer  table  is  first
  3405.   created  for  that printer. The print size
  3406.   is set before printing to a number between
  3407.   1  and  41. Beware that the printed result
  3408.   can be very large. Start with low  numbers
  3409.   and  work your way up. This is very useful
  3410.   for printing banners and the like.
  3411.  
  3412.  
  3413.  
  3414.   DEFINITIONS 10-52
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.