home *** CD-ROM | disk | FTP | other *** search
/ Kids Cube / 1_Art.iso / pep / chapt2.txt < prev    next >
Text File  |  1994-06-22  |  8KB  |  157 lines

  1. <Chapter 2:  Inserting Elements>
  2.      Use the INSERT menu to add new elements to a picture. The initial
  3. properties of these elements (for example, the thickness of a line or the
  4. font of a text label) are determined by the current graphic-defaults and
  5. text-defaults. These default values are set in the G-DEFAULTS and
  6. T-DEFAULTS menus (see Chapters <[10]> and <[11]>). If the default
  7. properties are not the ones you want, you can use the MODIFY command in
  8. the INSERT menu to change the properties of the element just inserted.
  9.  
  10.      The line insertion commands (LINE, VERTICAL, HORIZONTAL, ARC, and
  11. RIGHTANGLE) all operate in the same way. When you press the command
  12. letter, a cross-hair cursor is displayed. To identify the start point,
  13. position this cursor and press RETURN. A smaller cross-hair appears
  14. marking the position you have chosen. To identify the end point and insert
  15. the line, reposition the larger cross-hair cursor and press RETURN again.
  16. The end point of this line becomes the default start point for the next
  17. line to be inserted: if you choose a third point by positioning the cursor
  18. and pressing RETURN again, you will have inserted two connected lines. To
  19. insert two disconnected lines, press ESC after inserting the first. Then
  20. define a new start point by moving the cursor and pressing RETURN. Then
  21. proceed as above to choose an end point. To insert a different kind of
  22. line, simply press the new command letter (e.g. R for Right-angle) and
  23. proceed as described above.
  24.  
  25.      Immediately after inserting an arc or right-angle, you can press
  26. SPACE to flip the element just inserted. <[FIG09]>.
  27.  
  28. <Section 2.1:  Line>
  29.      Use the INSERT/LINE command to draw straight lines using the
  30. procedure described above.
  31.  
  32. <Section 2.2:  Arc>
  33.      Use the INSERT/ARC command to draw elliptical quadrants from the
  34. start point to the end point. After you insert an arc, press SPACE to
  35. toggle between the two possible curves (viz. clockwise or counterclockwise
  36. from the start to the end). In PEP an arc is initially drawn tangent to
  37. the box spanning the start point and end point. After you have inserted
  38. the arc, you can change the slopes at its end points by using the
  39. MODIFY/ANGLES command <[4.21]>.
  40.  
  41. <Section 2.3:  Vertical>
  42.      Use the INSERT/VERTICAL command to draw a vertical line. The line is
  43. drawn from the start point to the Y coordinate of the end point. When you
  44. have drawn one, the command switches to HORIZONTAL line insertion. To
  45. insert another vertical line, press ESC. Then choose start and end points
  46. as before.
  47.  
  48. <Section 2.4:  Horizontal>
  49.      Use the INSERT/HORIZONTAL command to draw a horizontal line. The line
  50. is drawn from the start point to the X coordinate of the end point. When
  51. you have drawn one, the command switches to VERTICAL line insertion. To
  52. insert another horizontal line, press ESC. Then choose start and end
  53. points as before.
  54.  
  55. <Section 2.5:  Rightangle>
  56.      Use the INSERT/RIGHTANGLE command to draw a right-angle between two
  57. given points. As for ARC, you can press SPACE to flip the line just
  58. inserted.
  59.  
  60. <Section 2.6:  Close>
  61.      The INSERT/CLOSE command closes a polyline. A polyline is a sequence
  62. of one or more connected lines (straight, horizontal, vertical, arc, or
  63. right-angle). When the polyline is closed, a new line is inserted. The new
  64. line is drawn from the end point of the last line inserted to the start
  65. point of the first line in the polyline. Unless you request a change, the
  66. new line is the same type of line as the last line inserted. For example,
  67. if you have inserted one right-angle, the CLOSE command closes that
  68. right-angle with another, forming a box; however, if you first type L (for
  69. LINE), the CLOSE command closes with a straight line, forming a triangle.
  70. <[FIG16]>.
  71.  
  72.      This command is especially useful if you are creating the boundary of
  73. a filled region, which must be accurately closed. Unless you use the
  74. INSERT/CLOSE command, you must manually return the boundary to the exact
  75. pixel from which it started.
  76.  
  77. <Section 2.7:  Text>
  78.      Use the INSERT/TEXT command to insert a text label (using the current
  79. font, typesize, rotation, and justification defaults specified in the
  80. T-DEFAULTS menu <[11]>). Press the command letter, position the cross-hair
  81. cursor, and press RETURN. This places the text cursor (a solid box) in the
  82. chosen position. Then, as you type, the text is entered into the label
  83. being created. Close the label either by pressing RETURN (in which case a
  84. new label is started immediately below the current one) or ESC. While you
  85. are entering text in the label, it is displayed with left justification.
  86. After the label is closed, the current default justification is used.
  87.  
  88.      When you are inserting or editing a text label, a number of single
  89. keystroke commands become available, and the command menu is replaced by a
  90. list of these. The new commands are:
  91.  
  92.   Ctrl-F: move forward 1 character
  93.   Ctrl-B: move back 1 character
  94.   Ctrl-A: move to start of label
  95.   Ctrl-E: move to end of label
  96.   Ctrl-rightarrow: move forward 1 word
  97.   Ctrl-leftarrow: move back 1 word
  98.   Ctrl-K: delete to end of label
  99.   Ctrl-D or Del: delete 1 character
  100.   Backspace: delete character before text cursor
  101.   Ins: toggle between insert and overstrike
  102.  
  103.      You can also change the font style and/or color by inserting escape
  104. characters during text entry using the ALT-F7, ALT-F8, and ALT-F9 keys
  105. followed by the appropriate hexidecimal digit. (For more information about
  106. these escape characters, see sections <[14.2.3]>, <[14.2.4]>, and
  107. <[14.2.5]>.) In this way, a single text label can include multiple colors
  108. and multiple styles from a given typeface: normal, bold, italic, and so
  109. forth. The styles available depend on the font being used.
  110.  
  111. <Section 2.8:  Object>
  112.      The INSERT/OBJECT command allows you to insert a previously defined
  113. object into the open object. Press the command letter to display a menu of
  114. available object names. Highlight the name of the object you want to
  115. insert, and press RETURN to select that object. If you select the name
  116. "/IMPORT/", PEP will switch to the OBJECT/IMPORT menu. You can then choose
  117. any object from any other file in either the current directory or the PEP
  118. home directory. (See <[1.9.1]> for a discussion of how to select an entry
  119. from a name menu. See <[7.8]> for a description of the OBJECT/IMPORT
  120. commands.)
  121.  
  122.      There are two ways to insert the object you have selected. 1.
  123. Position the cross-hair cursor and press RETURN. The object will be
  124. inserted with its upper left corner placed at the cross-hair cursor
  125. position. 2. Press SPACE to change the cross-hair cursor into a box cursor
  126. of the size of the selected object. Position this cursor and press RETURN
  127. to insert the object. In either case, to insert another copy of the same
  128. object, reposition the cursor and press RETURN again.
  129.  
  130. <Section 2.9:  Group>
  131.      The INSERT/GROUP command makes it possible to collect subsequently
  132. inserted elements into a group and to create filled regions. To make a
  133. group or region, type the command letter to turn grouping ON, then insert
  134. the elements that you want to group, and finally use the END-GROUP command
  135. to actually make the group. If you want to make a filled region, the lines
  136. you insert must form a closed boundary (see the INSERT/CLOSE command
  137. described above <[2.6]>). Note: you can form groups and regions from
  138. previously inserted elements by using the COLLECT command. (See Chapter
  139. <[5]>.)
  140.  
  141. <Section 2.10:  End-group>
  142.      The INSERT/END-GROUP command terminates the grouping of inserted
  143. elements and forms a group. It is valid only if grouping has been turned
  144. ON by a prior INSERT/GROUP command. To create a filled region, you first
  145. make a group of the lines which will form the edge of the region. The
  146. lines you insert should form a closed boundary. Then use the MODIFY/FILL
  147. command <[4.8]> to change the group into a filled region. The
  148. MODIFY/EXPLODE <[4.23]> command can be used to separate the group back
  149. into its components.
  150.  
  151. <Section 2.11:  Modify>
  152.      The INSERT/MODIFY command selects the most recently inserted element
  153. and displays a MODIFY menu tailored to that type of element. You can now
  154. change any of the properties of this element. (See Chapter <[4]> for a
  155. description of each of the commands available in the different MODIFY
  156. menus.)