home *** CD-ROM | disk | FTP | other *** search
/ Kids Cube / 1_Art.iso / pep / chapt4.txt < prev    next >
Text File  |  1993-12-14  |  24KB  |  468 lines

  1. <Chapter 4:  Modifying Elements>
  2.      Use the MODIFY command to change the properties of any element in the
  3. open object. First press the command letter, and then select an element to
  4. modify as follows. Position the cross-hair cursor near the element you
  5. want to modify and press RETURN. PEP finds the picture element nearest to
  6. the cursor and displays a box around that element. (The selected element
  7. is also displayed in the preview window if you have one.) You can accept
  8. this choice or reject it. Press RETURN to accept, or SPACE to reject. If
  9. you accept the choice, a new menu appears. The commands in this menu
  10. depend on the kind of element you have chosen. You can use this menu to
  11. change the properties of the selected element. If, however, you press
  12. SPACE to reject the boxed element, the next closest element is selected,
  13. and a box is displayed around it. Once again, you can press either RETURN
  14. to accept the boxed element or SPACE to select another. By repeatedly
  15. pressing SPACE, you can step through every element in the picture, if
  16. necessary, to select the one you wish to modify. This method of selection
  17. is exactly the same as the one used by the DELETE command <[3]>.
  18.  
  19.      While you are modifying an element a record is kept of the
  20. modifications performed so that these changes can be reversed by the UN-DO
  21. command. This record is similar to the un-delete queue and is called the
  22. un-do queue. See the description of the UN-DO command below <[4.24]>.
  23.  
  24.      While the selected element is being modified, it is temporarily moved
  25. to the front of the open object display. Unless the ORDER command is used
  26. (see <[4.19]> below), the element is returned to its original position in
  27. the drawing sequence when it is no longer being modified.
  28.  
  29.      After you select an element, a menu of modify commands appears. The
  30. four types of element (line, label, object, and group) each bring up a
  31. different menu, consisting of a subset of the commands listed below. In
  32. addition to the MODIFY command, there are two other ways to access these
  33. modify menus. The INSERT/MODIFY command <[2.11]> allows you to modify the
  34. most recently inserted element, and the COLLECT/GROUP <[5.8]> and
  35. COLLECT/OBJECT <[5.7]> commands bring up a modify menu whenever they
  36. create a group or object.
  37.  
  38. <Section 4.1:  Move>
  39.      The MODIFY/MOVE command is available for all elements.
  40.  
  41.      Use this command to change the location of the selected element.
  42. Press the command letter to display a box cursor around the selected
  43. element. Position the box at the desired new location, and press RETURN to
  44. move the element. The box cursor is locked inside the window that contains
  45. it. If you wish to move an element from one window to another, you can
  46. replace the box cursor with a crosshair by pressing SPACE. The cross hair
  47. can be moved into any window. Pressing SPACE again converts back to a box
  48. cursor.
  49.  
  50.      You can also move the selected element by typing in new X and Y
  51. coordinates. For objects and groups, these coordinates locate the upper
  52. left corner of the element. For text strings, these coordinates locate the
  53. starting point of the label. The starting point of a label is the corner
  54. of the label box nearest to the top of the first character in the label.
  55. See <[FIG23]>.
  56.  
  57.      For lines, two pairs of XY coordinates can be entered. When you press
  58. the command letter, XY input is enabled for the first pair of coordinates.
  59. This pair identifies the position of the start point of the line. If you
  60. press the command letter a second time, XY input is enabled for the second
  61. pair of coordinates. This pair identifies the position of the end point of
  62. the line.
  63.  
  64. <Section 4.2:  Duplicate>
  65.      The MODIFY/DUPLICATE command is available for all elements.
  66.  
  67.      The DUPLICATE command makes a duplicate copy of the selected element.
  68. Press the command letter and a box cursor appears. Position this cursor at
  69. the target location, and press RETURN. A new copy of the selected element
  70. is created and inserted at the selected location. The menu window still
  71. displays a modify menu appropriate to this type of element, but you are
  72. now modifying the copy, not the original element. If you press SPACE,
  73. another copy is inserted at the same distance from the former copy as that
  74. copy was from the original. By using this feature, you can easily create
  75. multiple evenly spaced copies of any kind of element. To insert another
  76. copy at a different location, just re-position the cursor and press RETURN
  77. a second time.
  78.  
  79.      The DUPLICATE command empties the un-do queue. After you have made
  80. the duplicate element, previous changes to the original element can no
  81. longer be un-done.
  82.  
  83. <Section 4.3:  Align>
  84.      The MODIFY/ALIGN command is available for groups.
  85.  
  86.      You can align multiple elements by collecting them into a group and
  87. applying the ALIGN command. Elements can be aligned at their left edge,
  88. right edge, horizontal midpoint (called the CENTER in the ALIGN menu), top
  89. edge, bottom edge, or vertical midpoint (called the MIDDLE in the ALIGN
  90. menu). Press the command letter to display a menu of these six choices and
  91. select one to align the individual elements of the selected group. For
  92. example, if you choose LEFT alignment, the elements of the group are moved
  93. so that the left edge of each element lies on the left edge of the entire
  94. group. If you choose MIDDLE alignment, the elements are moved so that the
  95. vertical midpoint of each lies on the vertical midpoint of the group.
  96. <[FIG27]> shows the effect of each of these two operations.
  97.  
  98. <Section 4.4:  Edit>
  99.      The MODIFY/EDIT command is available for Labels.
  100.  
  101.      Use this command to add, delete, or replace the text in a selected
  102. label. While the label is open for editing, the text is displayed left
  103. justified. When the label is closed, the correct justification is
  104. restored.
  105.  
  106.      While you are editing a text label, a number of single keystroke
  107. commands become available, and the command menu is replaced by a list of
  108. these. See the description of the INSERT/TEXT command <[2.7]> for an
  109. explanation of these new keystrokes.
  110.  
  111. <Section 4.5:  Stretch>
  112.      The MODIFY/STRETCH command is available for Lines, Objects and
  113. Groups.
  114.  
  115.      Use this command to change the size of the selected element. Press
  116. the command letter to display a stretchable box cursor around the selected
  117. element. Use the arrow keys or the mouse to re-position the moveable
  118. corner of the cursor. Press SPACE or Grey-star to select a different
  119. moveable corner. Press RETURN to stretch the selected element to the size
  120. of the box cursor.
  121.  
  122.      For groups and objects, you can also type in explicit X and Y stretch
  123. factors. The size of the selected object is changed. Its new size is
  124. determined by the new stretch factors multiplied by the initial size of
  125. the group or the native size of the object.
  126.  
  127. <Section 4.6:  Rotation>
  128.      The MODIFY/ROTATION command is available for Labels, Groups and
  129. Objects.
  130.  
  131.      Use this command to rotate the selected element. Press the command
  132. letter to display a menu of the eight available choices: four rotations
  133. (0, 90, 180, and 270 degrees clockwise) and four mirror images (\, -, /,
  134. and |). <[FIG10]> shows the effect of each of these operations.
  135.  
  136. <Section 4.7:  Type>
  137.      The MODIFY/TYPE command is available for Objects.
  138.  
  139.      Use this command to replace the selected object with an object of a
  140. different type. The new object is inserted in the same position, and with
  141. the same stretch and rotation as the one it replaces. Type the command
  142. letter to display a name menu of all of the objects in the loaded picture
  143. file. Choose an object name from this menu, and the selected object is
  144. replaced by an object of the chosen type. If you select the name
  145. "/IMPORT/", PEP will switch to the OBJECT/IMPORT menu. You can then choose
  146. any object from any other file in either the current directory or the PEP
  147. home directory. (See <[7.8]> for a description of the OBJECT/IMPORT
  148. commands.)
  149.  
  150. <Section 4.8:  Fill>
  151.      The MODIFY/FILL command is available for Groups. It is used to create
  152. filled regions. To make a filled region, first draw the boundary of the
  153. region, turning the boundary into a group by using the INSERT/GROUP
  154. <[2.9]> or COLLECT/GROUP <[5.8]> command. Then use MODIFY/FILL to turn the
  155. group into a filled region. In order for filling to operate properly, the
  156. boundary of the region must consist of one or more closed polylines. See
  157. the discussion in Chapter <[2]>, especially concerning the INSERT/CLOSE
  158. command <[2.6]>.
  159.  
  160.      The FILL command is a multiple choice command with two values: NO and
  161. YES. If FILL is NO, the selected group is a plain group; it is not a
  162. filled region; it is simply a collection of the elements that have been
  163. grouped together to create it. If FILL is YES, the selected group is a
  164. filled group; the elements collected in the group are interpreted as the
  165. boundary of a region that is to be given a solid or pattern fill. See
  166. <[FIG20]>.
  167.  
  168.      Note: if a group contains text labels, when it is converted into a
  169. filled region, the labels do not affect the area being filled. They are
  170. displayed, however, when the boundary is drawn and their color will be the
  171. border color for the region (see MODIFY/BORDER <[4.10]> below).
  172.  
  173. <Section 4.9:  Pattern>
  174.      This MODIFY/PATTERN command is available for Groups. It controls the
  175. pattern used to fill a filled region. Press the command letter to bring up
  176. a menu of available fill patterns. Choose one to change the fill pattern
  177. of the selected group. The set of available patterns is determined by the
  178. currently installed pattern file. This can be changed by using the
  179. SETUP/INSTALL/PATTERNS command. (See <[12.5.2]>).
  180.  
  181.      You can also change the pattern of several filled groups at one time
  182. by collecting them into a group and applying the PATTERN command to that
  183. group.
  184.  
  185.      Note: unless the selected group is itself a filled region or is a
  186. collection containing filled regions, the PATTERN command will have no
  187. visible effect on the group. The pattern data is not used except during
  188. the filling operation.
  189.  
  190. <Section 4.10:  Border>
  191.      The MODIFY/BORDER command is available for Groups. It controls the
  192. color in which the border of a filled region is drawn. (The COLOR command
  193. <[4.17]> controls the color of the fill). Press the command letter to
  194. display a menu with 17 choices, the 16 colors and NONE. If you choose a
  195. color, the border of the filled region will be drawn in that color. If you
  196. choose NONE, the filled region will be drawn without a border.
  197.  
  198.      You can also change the border color of several filled groups at one
  199. time by collecting them into a group and applying the BORDER command to
  200. that group.
  201.  
  202.      Note: unless the selected group is itself a filled region or is a
  203. collection containing filled regions, the BORDER command will have no
  204. visible effect on the group.
  205.  
  206. <Section 4.11:  Text>
  207.      The MODIFY/TEXT command is available for Groups.
  208.  
  209.      The modify commands that apply to text labels can also be applied to
  210. groups. These commands are: FONT, JUSTIFY, TYPESIZE, BOX, and WIDTH. For
  211. text labels, they appear in the MODIFY menu, but for groups, they appear
  212. in a submenu. Use the TEXT command to display this menu. Each of these
  213. commands is described separately below. When they are applied to a group,
  214. they affect all of the text labels within that group. (If the group
  215. contains no text, these commands will have no effect).
  216.  
  217.      For example, you can change the font of multiple text labels at one
  218. time by collecting them into a group and applying the MODIFY/TEXT/FONT
  219. command.
  220.  
  221. <Section 4.12:  Font>
  222.      The MODIFY/FONT command is available for Labels and Groups. For
  223. groups, it appears in the MODIFY/TEXT submenu.
  224.  
  225.      The FONT command changes the font of the selected label. For groups,
  226. it changes all of the text labels in the group to a single font. The
  227. command cycles through the font files installed in the SETUP/INSTALL menu
  228. <[12.5]>.
  229.  
  230. <Section 4.13:  Justify>
  231.      The MODIFY/JUSTIFY command is available for Labels and Groups. For
  232. groups, it appears in the MODIFY/TEXT submenu.
  233.  
  234.      The JUSTIFY command cycles through the four options for justifying
  235. text labels: LEFT, RIGHT, CENTERED, and EVEN. If the selected element is a
  236. text label, the command changes the justification of that label. If a
  237. group is selected, the command changes the justification of all labels in
  238. the group. The effect of the four kinds of justification is shown in
  239. <[FIG18]>.
  240.  
  241. <Section 4.14:  Typesize>
  242.      The MODIFY/TYPESIZE command is available for Labels and Groups. For
  243. groups, it appears in the MODIFY/TEXT submenu.
  244.  
  245.      With the TYPESIZE command, you can change the size of the characters
  246. in the selected text label. The width and height can be controlled
  247. independently. The point size of the label is given by the Y value, which
  248. determines the height of the characters. The X value determines the
  249. character widths. We recommend that the typesize X be equal to the
  250. typesize Y, if the font is BEAMOF or MEDFORD MODERN. For the other fonts,
  251. we recommend that the typesize X be approximately three fourths of the
  252. typesize Y.
  253.  
  254.      You can, however, set the X and Y typesize values in any ratio that
  255. you like. When you increase the X value, you make the label more expanded.
  256. When you decrease the X value, you make it more condensed. <[FIG22]>.
  257.  
  258. <Section 4.15:  Box>
  259.      The MODIFY/BOX command is available for Labels and Groups. For
  260. groups, it appears in the MODIFY/TEXT submenu.
  261.  
  262.      Every text label has a starting point (which can be modified by the
  263. MOVE command above) and an ending point. The text characters are
  264. positioned between these two according to the label's justification. The
  265. ending point is determined implicitly by the starting point plus a box
  266. width value associated with the label.
  267.  
  268.      The BOX command is a multiple choice command which determines how a
  269. box width is assigned to a text label. There are two modes: AUTO and
  270. FIXED. If the mode is AUTO, the box width of the label is determined by
  271. the contents of the label; it changes whenever the text is edited. If the
  272. mode is FIXED, you can set the box width to whatever value you want by
  273. using the MODIFY/WIDTH command described below.
  274.  
  275. <Section 4.16:  Width>
  276.      The MODIFY/WIDTH command is available for Labels and Groups. For
  277. groups, it appears in the MODIFY/TEXT submenu.
  278.  
  279.      Use this command to set the box width of a text label. However, note
  280. that setting the width value does not affect the label unless its box mode
  281. is FIXED. If the mode is AUTO, the width value is ignored. The box mode is
  282. controlled by the MODIFY/BOX command described above.
  283.  
  284.      To set the box width, first type the command letter. Then type in the
  285. label width, or use the cursor to determine the width as follows: position
  286. the cross-hair cursor and press RETURN. A small cursor marks the point
  287. that you have selected. The cross-hair cursor is also changed into a
  288. vertical line cursor. Position the new cursor and press RETURN again. The
  289. label width is set to the horizontal distance between the two points which
  290. you have chosen. Alternatively, when the vertical cursor appears, you can
  291. press SPACE to convert the vertical line to a horizontal line. Then when
  292. you press RETURN the second time, the label width is set to the vertical
  293. distance between the two chosen points.
  294.  
  295.      Note: there is no separate command to control the box height of a
  296. text label. The box height is always equal to the typesize Y value.
  297.  
  298. <Section 4.17:  Color>
  299.      The MODIFY/COLOR command is available for all elements.
  300.  
  301.      Use this command to change the color of the selected element. Picture
  302. elements can be in any one of 16 different colors. These colors are
  303. numbered 0 through 9 and A through F. Type the command letter, and then
  304. type the letter or number of the color you want.
  305.  
  306.      The display of most monochrome monitors for the PC and compatibles is
  307. white, green, or amber foreground on a black background. On EGA and VGA
  308. monitors, PEP may use either black or white as the background color. (The
  309. choice is an installation option). Most printers, however, print black on
  310. a white background. Therefore, the names BLACK and WHITE are not used in
  311. the color menus, and the substitutes FOREGROUND and BACKGROUND are used
  312. instead. On a dark background display, FOREGROUND color displays as white
  313. (or green or amber) and prints as black on paper. BACKGROUND color
  314. displays as black on screen, and prints as white on paper.
  315.  
  316.      The table below lists the standard names for each of the 16 colors.
  317. However, the actual color produced depends on the properties of your
  318. output device. If you have a monochrome display, all colors appear the
  319. same except color F (BACKGROUND).
  320.  
  321.   0  FOREGROUND  8  ORANGE
  322.   1  RED         9  LIME
  323.   2  BLUE        A  GRAY
  324.   3  YELLOW      B  PINK
  325.   4  GREEN       C  PURPLE
  326.   5  BROWN       D  GOLD
  327.   6  MAGENTA     E  OLIVE
  328.   7  CYAN        F  BACKGROUND
  329.  
  330. <Section 4.18:  Line-style>
  331.      The MODIFY/LINE-STYLE command is available for Lines, Groups and
  332. Objects.
  333.  
  334.      The style of a line can be changed in PEP in three ways. First, you
  335. can change the shape of the pen used to draw the line. Second, you can
  336. change the size of the pen. The size can be controlled independently in
  337. both the X direction and the Y direction. Finally, the line can be dashed.
  338. Dashing can be controlled by specifying for one dash its number of pixels
  339. on and number of pixels off. By combining these three techniques, an
  340. almost infinite variety of line styles can be produced.
  341.  
  342.      For groups and objects, setting the line style causes all lines in
  343. the group or object to be redrawn in the given style. This includes lines
  344. contained within sub-groups and sub-objects. Text, however, is not
  345. affected.
  346.  
  347.      Use the LINE-STYLE command to display a new menu, from which you can
  348. change the pen shape, pen size, and dashing parameters.
  349.  
  350. <Section 4.18.1:  Nibtype>
  351.      Use the MODIFY/LINE-STYLE/NIBTYPE command to change the shape of the
  352. nib, or pen point, used by PEP to draw the selected element. Type the
  353. command letter to display a menu of the eight available types: point,
  354. horizontal line, vertical line, up-sloping line, down-sloping line, box,
  355. ellipse, and rhombus. Choose one of these and the selected element is
  356. redrawn using the new pen shape.
  357.  
  358. <Section 4.18.2:  Pensize>
  359.      Use the MODIFY/LINE-STYLE/PENSIZE command to change the size of the
  360. pen point used to draw the selected element. It is an XY input command. X
  361. controls the pen width and Y controls the pen depth. Note, however, that
  362. three types of nib are unaffected by one or both of these settings. A
  363. horizontal pen is not affected by the Y setting, a vertical pen is not
  364. affected by the X setting, and a point pen is always one pixel by one
  365. pixel.
  366.  
  367. <Section 4.18.3:  Dashes>
  368.      The MODIFY/LINE-STYLE/DASHES command has two capabilities. You can
  369. use it as a multiple choice command to turn dashing ON and OFF. When
  370. dashing is ON, it is also an XY input command. X controls the length of
  371. the dashes, and Y controls the space between the dashes. If the pen size
  372. is larger than 0, the dashes can be made to overlap by using a small Y, or
  373. they can be kept apart by setting Y sufficiently large.
  374.  
  375. <Section 4.19:  Order>
  376.      The MODIFY/ORDER command is available for all elements.
  377.  
  378.      While an element is being modified, it is temporarily moved in front
  379. of all other elements in the open object. Normally, when you QUIT from the
  380. MODIFY menu, it is replaced in its original position in the drawing
  381. sequence. This can be changed by using the ORDER command. It is a multiple
  382. choice command with three values: SAME, 1ST, and LAST. If the order is
  383. SAME, the selected element will be replaced in its original position in
  384. the drawing sequence; this is the default value for ORDER. If the order is
  385. 1ST, the selected element will be moved to the back of the drawing
  386. sequence; it will be the first one drawn; other elements, if they overlap
  387. this one, will obscure it. If the order is LAST, the selected element will
  388. remain at the front of the drawing sequence; it will continue to be the
  389. last one drawn; other elements, if they overlap this one, will be obscured
  390. by it.
  391.  
  392.      Note that the effects of the ORDER command do not take place until
  393. you QUIT from the MODIFY menu.
  394.  
  395. <Section 4.20:  Globals>
  396.      The MODIFY/GLOBALS command is available for all elements.
  397.  
  398.      Use this command to set the appropriate parameters in the G-DEFAULTS
  399. <[10]> or T-DEFAULTS <[11]> menu to agree with the properties of the
  400. selected element. For example, if you want to insert a number of lines
  401. having the same line-style and color as a given line, select that line
  402. using the MODIFY command, and then use GLOBALS to update the graphic
  403. default settings. Every line inserted thereafter will have the properties
  404. of the line that you selected.
  405.  
  406. <Section 4.21:  Angles>
  407.      The MODIFY/ANGLES command is available for Arcs.
  408.  
  409.      Use the ANGLES command to change the curvature of an arc. Press the
  410. command letter and position the cursor within the box that appears. Press
  411. RETURN to select a point inside that box. The arc is redrawn with new
  412. slopes. The new slopes are determined by the chosen point. Namely, at each
  413. end point, the arc will be tangent to the straight line drawn from that
  414. end point to the point selected by the cursor. This is shown in <[FIG02]>.
  415. Repeat if necessary until the arc is drawn as you want it.
  416.  
  417.      In addition, you can use ANGLES as an XY input command and enter the
  418. start and end angles explicitly. In this case, use X input to specify the
  419. angle at the start of the line, and Y input to specify the angle at the
  420. end. Type in the angles in degrees from the horizontal. The minimum value
  421. is 0 (horizontal) and the maximum value is 90 (vertical).
  422.  
  423.      If you imagine a straight line from the start point of the arc to its
  424. end point, the entire arc must lie on one side or the other of this line.
  425. If you change one angle so as to violate this constraint, the opposite
  426. angle will be flipped automatically so that the arc will still be legal.
  427. If you want to draw a curve that begins on one side of this line and ends
  428. on the other, you can accomplish this by inserting two separate arcs.
  429.  
  430. <Section 4.22:  Flip>
  431.      The MODIFY/FLIP command is available for Right-angles and Arcs.
  432.  
  433.      Use this command to toggle between the two drawing directions
  434. (clockwise and counter-clockwise) of the selected right-angle or arc.
  435. <[FIG09]>.
  436.  
  437. <Section 4.23:  Explode>
  438.      The MODIFY/EXPLODE command is available for Groups and Objects.
  439.  
  440.      For groups, EXPLODE is an un-group command. It causes the group to be
  441. replaced by its separate elements. If a filled region is exploded, it is
  442. replaced by the individual elements of its boundary. Because the exploded
  443. group no longer exists as a single element, this command automatically
  444. exits from the MODIFY menu.
  445.  
  446.      For objects, EXPLODE causes the object to be replaced by a group of
  447. elements identical in appearance to the object being replaced. Then the
  448. MODIFY-OBJECT menu is replaced by a MODIFY-GROUP menu. For example, to
  449. make a filled region out of an object, first EXPLODE the object, then, in
  450. the MODIFY-GROUP menu, use the FILL command <[4.8]> to make the group into
  451. a filled region.
  452.  
  453.      To explode an object into its separate elements, press the command
  454. letter twice, once to convert from object into group, and again to explode
  455. the group into its individual components.
  456.  
  457. <Section 4.24:  Un-do>
  458.      The MODIFY/UN-DO command is available for all elements.
  459.  
  460.      This command reverses (or "un-does") the most recent modification of
  461. the selected element. As for the UN-DELETE command described in Chapter
  462. <[3]>, if you press the command letter a second time, the next most recent
  463. modification will be undone. If you continue to execute the command, more
  464. changes will be reversed. The number of changes remembered is limited only
  465. by the amount of available memory. However, if you QUIT from the MODIFY
  466. menu, or DUPLICATE the active element, the UN-DO memory is emptied. You
  467. cannot subsequently un-do earlier modifications.