home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume21 / xfig / patch02b < prev    next >
Encoding:
Text File  |  1993-10-21  |  39.2 KB  |  1,062 lines

  1. Newsgroups: comp.sources.x
  2. From: envbvs@epb12.lbl.gov (Brian V. Smith)
  3. Subject: v21i022:  xfig - Draw amd manipulate objects in an X-Window, Patch02b/16
  4. Message-ID: <1993Oct21.185712.6693@sparky.sterling.com>
  5. X-Md4-Signature: d4abc2f715ab703ff0e191193878dc32
  6. Sender: chris@sparky.sterling.com (Chris Olson)
  7. Organization: Sterling Software
  8. Date: Thu, 21 Oct 1993 18:57:12 GMT
  9. Approved: chris@sterling.com
  10.  
  11. Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
  12. Posting-number: Volume 21, Issue 22
  13. Archive-name: xfig/patch02b
  14. Environment: patch, X11, xfig
  15. Patch-To: xfig: Volume 19, Issue 113-139
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then feed it
  19. # into a shell via "sh file" or similar.  To overwrite existing files,
  20. # type "sh file -c".
  21. # Contents:  xfig.14
  22. # Wrapped by chris@sparky on Thu Oct 21 13:40:05 1993
  23. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 2 (of 16)."'
  26. if test -f 'xfig.14' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'xfig.14'\"
  28. else
  29.   echo shar: Extracting \"'xfig.14'\" \(36949 characters\)
  30.   sed "s/^X//" >'xfig.14' <<'END_OF_FILE'
  31. X  With this button the user may select no grid,
  32. X  1/4 inch (5mm in metric mode) grid or 1/2 inch (10mm) grid.
  33. X  .TP
  34. X! .I POINT POSITION
  35. X  This button controls the coarseness of object placement on the canvas.
  36. X  The options are exact (on pixel) placement, 1/16 inch (2mm in metric mode), 1/4
  37. X! inch (5mm) or 1/2 inch (10mm).  This allows the user to easily place objects
  38. X  in horizontal or vertical alignment.
  39. X! 
  40. X! This also restricts which objects may be "picked up" by the mouse when editing.
  41. X  If a corner of an object is not positioned on the canvas on a multiple
  42. X! of the point positioning resolution you may not be able to pick it.  If this
  43. X! happens, a black square will temporarily appear above the mouse cursor.
  44. X  This square will also appear anytime the user tries to pick a nonexistent
  45. X  object.
  46. X  .TP
  47. X! .I ROTATION ANGLE
  48. X  The rotation angle for rotating objects may be set/increased/decreased
  49. X  with this button.
  50. X  Note that not all objects may be rotated, and certain objects
  51. X--- 1132,1163 ----
  52. X  is less than 1.0 in which case it will increase it to the nearest 0.25.
  53. X  Pressing the control key and mouse button 3 together will
  54. X  set the zoom scale to 1.
  55. X! .Sp
  56. X  The figure may also be zoomed by defining a zoom rectangle by pressing
  57. X! the control key and mouse button 1 together.
  58. X! This will define one corner of the zoom rectangle.
  59. X! Move the mouse and click mouse button 1 again to
  60. X  define the opposite corner of the zoom rectangle.
  61. X  .TP
  62. X! .I "GRID MODE"
  63. X  With this button the user may select no grid,
  64. X  1/4 inch (5mm in metric mode) grid or 1/2 inch (10mm) grid.
  65. X  .TP
  66. X! .I "POINT POSITION"
  67. X  This button controls the coarseness of object placement on the canvas.
  68. X  The options are exact (on pixel) placement, 1/16 inch (2mm in metric mode), 1/4
  69. X! inch (5mm) or 1/2 inch (10mm).
  70. X! This allows the user to easily place objects
  71. X  in horizontal or vertical alignment.
  72. X! .IP \&
  73. X! This also restricts which objects may be ``picked up'' by the mouse when editing.
  74. X  If a corner of an object is not positioned on the canvas on a multiple
  75. X! of the point positioning resolution you may not be able to pick it.
  76. X! If this happens, a black square will temporarily appear above the mouse cursor.
  77. X  This square will also appear anytime the user tries to pick a nonexistent
  78. X  object.
  79. X  .TP
  80. X! .I "ROTATION ANGLE"
  81. X  The rotation angle for rotating objects may be set/increased/decreased
  82. X  with this button.
  83. X  Note that not all objects may be rotated, and certain objects
  84. X***************
  85. X*** 645,700 ****
  86. X  The depth at which new objects will be created may be set/increased/decreased
  87. X  with this button.
  88. X  .TP
  89. X! .I NUMBER OF POLYGON SIDES
  90. X! The number of sides used in creating a \fIREGULAR POLYGON\fP is set with
  91. X! this button.
  92. X  .TP
  93. X! .I SMART-LINKS MODE
  94. X! This button controls the smart-links mode.  When turned on, lines which
  95. X! link box-like objects together (henceforth called \fIlinks\fP) are treated
  96. X  specially when one of the box-like objects is moved.
  97. X! When set to \fIMOVE\fP mode, the end point of the link which touches
  98. X  (or is very near) the perimeter of the box is moved with the
  99. X  box so that the box and the end point remain linked.
  100. X! When set to \fISLIDE\fP mode, the end segment of the link slides so
  101. X  that the box remains linked and the angle of the end segment is maintained.
  102. X  This is useful for keeping the last segment of a link horizontal or vertical.
  103. X! 
  104. X! (At the moment, this mode only works for the \fIMOVE\fP and \fICOPY\fP
  105. X! functions and only works for \fIPOLYLINE\fP links and box-like objects.
  106. X  Another limitation at the moment is that if both ends of a link touch
  107. X  the box being operated on, only one end of the link will be adjusted.)
  108. X  .TP
  109. X! .I VERTICAL ALIGN
  110. X! This sets the vertical alignment mode for the \fIALIGN\fP button in the
  111. X! editing mode panel.  The choices are no vertical alignment, align to top edge,
  112. X  middle or bottom edge of compound.
  113. X! The \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
  114. X  used together to align objects inside a compound or in canvas.
  115. X  .TP
  116. X! .I HORIZONTAL ALIGN
  117. X! This sets the horizontal alignment mode for the \fIALIGN\fP button in the
  118. X! editing mode panel.  The choices are no horizontal alignment, align to left edge,
  119. X  middle or right edge of compound.
  120. X! The \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
  121. X! used together to align objects inside a compound or in canvas.
  122. X  .TP
  123. X! .I ANGLE GEOMETRY
  124. X  The following settings are available to restrict the drawing angle of line
  125. X! segments in \fIPOLYLINES\fP, \fIPOLYGONS\fP and \fISPLINES\fP.
  126. X  .po +.5i
  127. X  .nr LL 6i
  128. X  .TP
  129. X  .I UNRESTRICTED
  130. X! Allow lines to be drawn with any slope.  This is the default setting.
  131. X  .TP
  132. X! .I LATEX LINE
  133. X! Allow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
  134. X! environment lines: slope = x/y, where x,y are integers in the range [-6,6].
  135. X  .TP
  136. X! .I LATEX VECTOR
  137. X! Allow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
  138. X! environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
  139. X  .TP
  140. X  .I MANHATTAN-MOUNTAIN
  141. X  Allow lines to be drawn in the horizontal, vertical or diagonal direction only.
  142. X--- 1171,1267 ----
  143. X  The depth at which new objects will be created may be set/increased/decreased
  144. X  with this button.
  145. X  .TP
  146. X! .I "NUMBER OF POLYGON SIDES"
  147. X! The number of sides used in creating a
  148. X! .I "REGULAR POLYGON"
  149. X! is set with this button.
  150. X  .TP
  151. X! .I "SMART-LINKS MODE"
  152. X! This button controls the smart-links mode.
  153. X! When turned on, lines which
  154. X! link box-like objects together (henceforth called
  155. X! .IR links )
  156. X! are treated
  157. X  specially when one of the box-like objects is moved.
  158. X! When set to
  159. X! .I MOVE
  160. X! mode, the end point of the link which touches
  161. X  (or is very near) the perimeter of the box is moved with the
  162. X  box so that the box and the end point remain linked.
  163. X! When set to
  164. X! .I SLIDE
  165. X! mode, the end segment of the link slides so
  166. X  that the box remains linked and the angle of the end segment is maintained.
  167. X  This is useful for keeping the last segment of a link horizontal or vertical.
  168. X! .IP \&
  169. X! (At the moment, this mode only works for the
  170. X! .I MOVE
  171. X! and
  172. X! .I COPY
  173. X! functions and only works for
  174. X! .I POLYLINE
  175. X! links and box-like objects.
  176. X  Another limitation at the moment is that if both ends of a link touch
  177. X  the box being operated on, only one end of the link will be adjusted.)
  178. X  .TP
  179. X! .I "VERTICAL ALIGN"
  180. X! This sets the vertical alignment mode for the
  181. X! .I ALIGN
  182. X! button in the editing mode panel.
  183. X! The choices are no vertical alignment, align to top edge,
  184. X  middle or bottom edge of compound.
  185. X! The
  186. X! .I "HORIZONTAL ALIGN"
  187. X! and
  188. X! .I "VERTICAL ALIGN"
  189. X! indicator settings are
  190. X  used together to align objects inside a compound or in canvas.
  191. X  .TP
  192. X! .I "HORIZONTAL ALIGN"
  193. X! This sets the horizontal alignment mode for the
  194. X! .I ALIGN
  195. X! button in the editing mode panel.
  196. X! The choices are no horizontal alignment, align to left edge,
  197. X  middle or right edge of compound.
  198. X! The
  199. X! .I "HORIZONTAL ALIGN"
  200. X! and
  201. X! .I "VERTICAL ALIGN"
  202. X! indicator settings are used together to align objects
  203. X! inside a compound or in canvas.
  204. X  .TP
  205. X! .I "ANGLE GEOMETRY"
  206. X  The following settings are available to restrict the drawing angle of line
  207. X! segments in
  208. X! .IR POLYLINES ,
  209. X! .I POLYGONS
  210. X! and
  211. X! .IR SPLINES .
  212. X  .po +.5i
  213. X  .nr LL 6i
  214. X  .TP
  215. X  .I UNRESTRICTED
  216. X! Allow lines to be drawn with any slope.
  217. X! This is the default setting.
  218. X  .TP
  219. X! .I "LATEX LINE"
  220. X! Allow lines to be drawn only at slopes which can be handled by
  221. X! .I LaTeX
  222. X! picture environment lines: slope =
  223. X! .IR x / y ,
  224. X! where
  225. X! .RI x , y
  226. X! are integers in the range [\-6,6].
  227. X  .TP
  228. X! .I "LATEX VECTOR"
  229. X! Allow lines to be drawn only at slopes which can be handled by
  230. X! .I LaTeX
  231. X! picture
  232. X! environment vectors: slope =
  233. X! .IR x / y ,
  234. X! where
  235. X! .RI x , y
  236. X! are integers in the range [\-4,4].
  237. X  .TP
  238. X  .I MANHATTAN-MOUNTAIN
  239. X  Allow lines to be drawn in the horizontal, vertical or diagonal direction only.
  240. X***************
  241. X*** 701,707 ****
  242. X  .TP
  243. X  .I MANHATTAN
  244. X  Enforce drawing of lines in the horizontal and vertical direction only.
  245. X! The name \fIManhattan\fP comes from the horizontal/vertical look of the Manhattan
  246. X  (New York City) skyline.
  247. X  .TP
  248. X  .I MOUNTAIN
  249. X--- 1268,1276 ----
  250. X  .TP
  251. X  .I MANHATTAN
  252. X  Enforce drawing of lines in the horizontal and vertical direction only.
  253. X! The name
  254. X! .I Manhattan
  255. X! comes from the horizontal/vertical look of the Manhattan
  256. X  (New York City) skyline.
  257. X  .TP
  258. X  .I MOUNTAIN
  259. X***************
  260. X*** 711,801 ****
  261. X  .po -.5i
  262. X  .nr LL 6.5i
  263. X  .TP
  264. X! .I FILL STYLE
  265. X  This button allows the user to select the area fill darkness (grey scale)
  266. X! for all objects except \fITEXT\fP and \fIENCAPSULATED POSTSCRIPT\fP,
  267. X  or to turn off area fill altogether.
  268. X  .TP
  269. X  .I COLOR
  270. X  The user may select one of eight predefined colors to draw with, or select
  271. X! that the \fIdefault\fP (-fg) color is to be used.  The eight colors are black,
  272. X! blue, green, cyan, red, magenta, yellow and white.  Note that \fITransFig\fP
  273. X! versions 2.1.4 and later support color output for \fIPostScript\fP.
  274. X  On monochrome screens the objects are created with the selected color,
  275. X  but black is used to draw the objects on the canvas.
  276. X  .TP
  277. X! .I LINE WIDTH
  278. X! The width of lines may be selected with this button.  Zero width lines may be
  279. X  drawn for the purpose of having filled areas without outlines.
  280. X  .TP
  281. X! .I LINE STYLE
  282. X! The choices for line style are solid, dashed and dotted.  Once created,
  283. X! a dashed or dotted line may be edited to change the length of dashes
  284. X! or the spacing of dots respectively.
  285. X  The dash length and dot gap can be changed from the default
  286. X  using the popup menu.
  287. X  .TP
  288. X! .I BOX CURVE
  289. X! The radius of the corners on \fIARC-BOX\fP objects may be set with this
  290. X! button.
  291. X  .TP
  292. X! .I ARROW MODE
  293. X! This button selects the auto-arrow mode for drawing lines.  The options are
  294. X! no arrow heads, backward-pointing arrow head, forward-pointing
  295. X! arrow head or both.  If one or both arrow head modes are turned on, then
  296. X  arrow heads are automatically drawn when drawing
  297. X! \fIPOLYLINE\fP, \fISPLINE\fP or \fIARC\fP objects.
  298. X  .TP
  299. X! .I TEXT JUSTIFICATION
  300. X! The adjustment of text may be set to \fIleft\fP, \fIcenter\fP or
  301. X! \fIright justification\fP.
  302. X  .TP
  303. X! .I TEXT SIZE
  304. X! The text size may be set/increased/decreased with this button.  The default
  305. X! is 12 points.
  306. X  .TP
  307. X! .I TEXT STEP
  308. X  The interline spacing of text may be set/increased/decreased with this button.
  309. X  The number displayed gives the multiple of the font height
  310. X! that will be placed between lines on hitting \fI<return>\fP.  The default
  311. X! is a factor of 1.2 times the current font size.
  312. X  .TP
  313. X! .I TEXT FONT
  314. X  This button allows a selection of 35 fonts available for most Apple
  315. X! \fIPostScript\fP printers.
  316. X! There are two buttons at the top of the menu.  The \fIcancel\fP button pops
  317. X! down the menu without changing the current font.  The \fIuse latex fonts\fP
  318. X! will switch the menu to the \fILaTeX\fP font choices.
  319. X! When the \fILaTeX\fP font menu is up, besides a \fIcancel\fP button
  320. X! there is a button to switch back to the \fIPostScript\fP fonts.
  321. X! 
  322. X  The name of the font is printed in the font itself so that one may see
  323. X  what that font looks like.
  324. X  If a corresponding X11 font exists, new text is created
  325. X  on the canvas using that font.
  326. X! \fIxfig\fP uses the size of X11 font closest to that selected
  327. X  by the font size button.
  328. X! If the X11 font doesn't exist, \fIxfig\fP uses the font
  329. X! selected by the "-normal" option.
  330. X! To abort selection of a font, click mouse button 1 on \fIcancel\fP.
  331. X  .TP
  332. X! .I TEXT FLAGS
  333. X! This button displays the current setting of the text flags.  You may use
  334. X! mouse buttons 2 and 3 to step back and forth through the three flag settings:
  335. X! \fIHidden\fP, \fIRigid\fP and \fISpecial\fP.  To change any of the flags
  336. X  you must use mouse button 1 to popup a menu from which you may change any
  337. X  or all of the flags.
  338. X! 
  339. X! The \fIHidden\fP and \fISpecial\fP attributes of text objects are
  340. X! used with figures that will be incorporated into LaTeX.  Please see
  341. X! the documentation for LaTeX for further information.  The default for the
  342. X! \fIHidden\fP flag is \fIoff\fP.
  343. X! The default for the \fISpecial\fP flag is \fIoff\fP unless xfig is started
  344. X! with the command-line parameter \fI-specialtext\fP (resource specialtext).
  345. X! 
  346. X! The \fIRigid\fP attribute forces text to remain the same size even if
  347. X! inside a compound object that is scaled up or down.  The default is \fIoff\fP.
  348. X! 
  349. X  .SH "DRAWING AND EDITING MODE PANELS"
  350. X  Icons in the drawing and editing mode panel windows represent
  351. X  object manipulation functions,
  352. X--- 1280,1433 ----
  353. X  .po -.5i
  354. X  .nr LL 6.5i
  355. X  .TP
  356. X! .I "FILL STYLE"
  357. X  This button allows the user to select the area fill darkness (grey scale)
  358. X! for all objects except
  359. X! .I TEXT
  360. X! and
  361. X! .IR "ENCAPSULATED POSTSCRIPT" ,
  362. X  or to turn off area fill altogether.
  363. X  .TP
  364. X  .I COLOR
  365. X  The user may select one of eight predefined colors to draw with, or select
  366. X! that the
  367. X! .I default
  368. X! .RB ( \-fg )
  369. X! color is to be used.
  370. X! The eight colors are black, blue, green, cyan, red, magenta, yellow and white.
  371. X! Note that
  372. X! .I TransFig
  373. X! versions 2.1.4 and later support color output for
  374. X! .IR PostScript .
  375. X  On monochrome screens the objects are created with the selected color,
  376. X  but black is used to draw the objects on the canvas.
  377. X  .TP
  378. X! .I "LINE WIDTH"
  379. X! The width of lines may be selected with this button.
  380. X! Zero width lines may be
  381. X  drawn for the purpose of having filled areas without outlines.
  382. X  .TP
  383. X! .I "LINE STYLE"
  384. X! The choices for line style are solid, dashed and dotted.
  385. X! Once created, a dashed or dotted line may be edited
  386. X! to change the length of dashes or the spacing of dots respectively.
  387. X  The dash length and dot gap can be changed from the default
  388. X  using the popup menu.
  389. X  .TP
  390. X! .I "BOX CURVE"
  391. X! The radius of the corners on
  392. X! .I ARC-BOX
  393. X! objects may be set with this button.
  394. X  .TP
  395. X! .I "ARROW MODE"
  396. X! This button selects the auto-arrow mode for drawing lines.
  397. X! The options are no arrow heads, backward-pointing arrow head,
  398. X! forward-pointing arrow head or both.
  399. X! If one or both arrow head modes are turned on, then
  400. X  arrow heads are automatically drawn when drawing
  401. X! .IR POLYLINE ,
  402. X! .I SPLINE
  403. X! or
  404. X! .I ARC
  405. X! objects.
  406. X  .TP
  407. X! .I "TEXT JUSTIFICATION"
  408. X! The adjustment of text may be set to
  409. X! .IR left ,
  410. X! .I center
  411. X! or
  412. X! .IR "right justification" .
  413. X  .TP
  414. X! .I "TEXT SIZE"
  415. X! The text size may be set/increased/decreased with this button.
  416. X! The default is 12 points.
  417. X  .TP
  418. X! .I "TEXT STEP"
  419. X  The interline spacing of text may be set/increased/decreased with this button.
  420. X  The number displayed gives the multiple of the font height
  421. X! that will be placed between lines on hitting
  422. X! .IR <return> .
  423. X! The default is a factor of 1.2 times the current font size.
  424. X  .TP
  425. X! .I "TEXT FONT"
  426. X  This button allows a selection of 35 fonts available for most Apple
  427. X! .I PostScript
  428. X! printers.
  429. X! There are two buttons at the top of the menu.
  430. X! The
  431. X! .I cancel
  432. X! button pops down the menu without changing the current font.
  433. X! The
  434. X! .I "use latex fonts"
  435. X! will switch the menu to the
  436. X! .I LaTeX
  437. X! font choices.
  438. X! When the
  439. X! .I LaTeX
  440. X! font menu is up, besides a
  441. X! .I cancel
  442. X! button there is a button to switch back to the
  443. X! .I PostScript
  444. X! fonts.
  445. X! .IP \&
  446. X  The name of the font is printed in the font itself so that one may see
  447. X  what that font looks like.
  448. X  If a corresponding X11 font exists, new text is created
  449. X  on the canvas using that font.
  450. X! .I xfig
  451. X! uses the size of X11 font closest to that selected
  452. X  by the font size button.
  453. X! If the X11 font doesn't exist,
  454. X! .I xfig
  455. X! uses the font selected by the
  456. X! .B \-normal
  457. X! option.
  458. X! To abort selection of a font, click mouse button 1 on
  459. X! .IR cancel .
  460. X  .TP
  461. X! .I "TEXT FLAGS"
  462. X! This button displays the current setting of the text flags.
  463. X! You may use mouse buttons 2 and 3 to step back and forth
  464. X! through the three flag settings:
  465. X! .IR Hidden ,
  466. X! .I Rigid
  467. X! and
  468. X! .IR Special .
  469. X! To change any of the flags
  470. X  you must use mouse button 1 to popup a menu from which you may change any
  471. X  or all of the flags.
  472. X! .IP \&
  473. X! The
  474. X! .I Hidden
  475. X! and
  476. X! .I Special
  477. X! attributes of text objects are
  478. X! used with figures that will be incorporated into
  479. X! .IR LaTeX .
  480. X! Please see the documentation for
  481. X! .I LaTeX
  482. X! for further information.
  483. X! The default for the
  484. X! .I Hidden
  485. X! flag is
  486. X! .IR off .
  487. X! The default for the
  488. X! .I Special
  489. X! flag is
  490. X! .I off
  491. X! unless
  492. X! .I xfig
  493. X! is started
  494. X! with the command-line parameter
  495. X! .B \-specialtext
  496. X! (resource specialtext).
  497. X! .IP \&
  498. X! The
  499. X! .I Rigid
  500. X! attribute forces text to remain the same size even if
  501. X! inside a compound object that is scaled up or down.
  502. X! The default is
  503. X! .IR off .
  504. X  .SH "DRAWING AND EDITING MODE PANELS"
  505. X  Icons in the drawing and editing mode panel windows represent
  506. X  object manipulation functions,
  507. X***************
  508. X*** 802,813 ****
  509. X  modes and other drawing or modification aids.
  510. X  Manipulation functions are selected by positioning the cursor over the icon
  511. X  representing the desired drawing/editing function and
  512. X! clicking mouse button 1.  The selected icon is highlighted, and
  513. X  a message describing its function appears in the message window.
  514. X  The hilighting remains on until another function is selected.
  515. X  .SH "DRAWING MODE PANEL COMMAND DESCRIPTIONS"
  516. X  .PP
  517. X! The drawing mode panel contains buttons used to create the various \fIxfig\fP
  518. X  objects.
  519. X  Once the drawing mode is selected, the object is created by moving
  520. X  the mouse to the point on the canvas where the object is to be placed
  521. X--- 1434,1447 ----
  522. X  modes and other drawing or modification aids.
  523. X  Manipulation functions are selected by positioning the cursor over the icon
  524. X  representing the desired drawing/editing function and
  525. X! clicking mouse button 1.
  526. X! The selected icon is highlighted, and
  527. X  a message describing its function appears in the message window.
  528. X  The hilighting remains on until another function is selected.
  529. X  .SH "DRAWING MODE PANEL COMMAND DESCRIPTIONS"
  530. X  .PP
  531. X! The drawing mode panel contains buttons used to create the various
  532. X! .I xfig
  533. X  objects.
  534. X  Once the drawing mode is selected, the object is created by moving
  535. X  the mouse to the point on the canvas where the object is to be placed
  536. X***************
  537. X*** 817,825 ****
  538. X  For those objects which may have more than two points (e.g. a line),
  539. X  mouse button 1 may be pressed for each successive point, and
  540. X  mouse button 2 must be pressed to finish the object.
  541. X! To create a single point
  542. X! using the \fIPOLYLINE\fP button, press and release mouse button 2.
  543. X! For the \fIARC\fP object, which requires exactly three
  544. X  points mouse button 1 is used for all three points.
  545. X  .PP
  546. X  At any time mouse button 3 may be pressed to cancel the
  547. X--- 1451,1462 ----
  548. X  For those objects which may have more than two points (e.g. a line),
  549. X  mouse button 1 may be pressed for each successive point, and
  550. X  mouse button 2 must be pressed to finish the object.
  551. X! To create a single point using the
  552. X! .I POLYLINE
  553. X! button, press and release mouse button 2.
  554. X! For the
  555. X! .I ARC
  556. X! object, which requires exactly three
  557. X  points mouse button 1 is used for all three points.
  558. X  .PP
  559. X  At any time mouse button 3 may be pressed to cancel the
  560. X***************
  561. X*** 826,834 ****
  562. X  creation of the object.
  563. X  .TP
  564. X  .I ARC
  565. X! Create an arc.  Specify three points using mouse button 1.  The first and
  566. X! last points will form the endpoints of the arc and the second specifies
  567. X! any point on the arc.
  568. X  .TP
  569. X  .I BOX
  570. X  Create rectangular boxes.
  571. X--- 1463,1472 ----
  572. X  creation of the object.
  573. X  .TP
  574. X  .I ARC
  575. X! Create an arc.
  576. X! Specify three points using mouse button 1.
  577. X! The first and last points will form the endpoints of the arc
  578. X! and the second specifies any point on the arc.
  579. X  .TP
  580. X  .I BOX
  581. X  Create rectangular boxes.
  582. X***************
  583. X*** 838,891 ****
  584. X  .TP
  585. X  .I ARC-BOX
  586. X  Create rectangular boxes with rounded corners.
  587. X! Start and finish with mouse button 1 in the same way as \fIBOX\fP.
  588. X! The radius of the corners is selected by the \fIBOX CURVE\fP button.
  589. X  .TP
  590. X  .I CIRCLE
  591. X  Create circles by specifying their radii or diameters.
  592. X  Click mouse button 1 on the center of the circle and drag the mouse
  593. X! until the desired radius or diameter is attained.  Click
  594. X! mouse button 1 again to finish the circle.
  595. X  .TP
  596. X  .I ELLIPSE
  597. X  Create ellipses using the same procedure as for the drawing of circles.
  598. X  .TP
  599. X! .I ENCAPSULATED POSTSCRIPT OBJECT (EPS)
  600. X  Click mouse button 1 on any corner
  601. X! for the \fIEPS\fP object and finish by clicking mouse button 1
  602. X! again on the diagonally opposite corner.  The \fIEDIT\fP
  603. X! popup panel will appear and the file name of the \fIEPS\fP object
  604. X! may be entered.  After pressing \fIDONE\fP or \fIAPPLY\fP
  605. X! (see the description of the EDIT panel for the difference between
  606. X! the \fIDONE\fP and \fIAPPLY\fP buttons) the bitmap
  607. X! part of the \fIEPS\fP object will appear in the box just created.  If no
  608. X! \fIEPS\fP file is available yet or no name is entered or there is no
  609. X! \fIpreview bitmap\fP in the \fIEPS\fP file, pressing \fIDONE\fP
  610. X  will pop down the edit panel and the word
  611. X! \fI<empty>\fP or the \fIEPS\fP file name will remain in the \fIEPS\fP box.
  612. X! Later, when the name of the \fIEPS\fP file is known or the file is available,
  613. X! you may re-read the \fIEPS\fP file using the popup edit panel and the bitmap
  614. X! part of the \fIEPS\fP file will replace the name in the box.
  615. X! .sp
  616. X! If you want the original size of the \fIEPS\fP object, press the
  617. X! "Use orig size" button and the eps bitmap will enlarge or shrink to
  618. X! the size specified in the preview bitmap of the \fIEPS\fP file.
  619. X! If you want the \fIEPS\fP object to be approximately the size of
  620. X  the rectangle specified with the mouse but want the aspect ratio
  621. X! to be same as the original, press either "Shrink to orig" or
  622. X! "Enlarge to orig" buttons.  You must press the APPLY button to
  623. X! see these effects.
  624. X! .sp
  625. X! If the \fIEPS\fP file has no preview bitmap, but has a \fI%%BoundingBox\fP
  626. X! comment and xfig has been compiled \fIxfig\fP with the \fI-DGSBIT\fP flag and
  627. X! you have \fIgs\fP (ghostscript) version 2.4 or newer then xfig will 
  628. X! call \fIgs\fP to produce a preview bitmap on the screen.
  629. X! Ghostscript is available from \fIprep.ai.mit.edu\fR.
  630. X  .TP
  631. X! .I INTERPOLATED SPLINE
  632. X  Create (cubic spline) spline objects.
  633. X  Enter control vectors in the same way as for creation of a
  634. X! \fIPOLYLINE\fP object.
  635. X  At least three points (two control vectors) must be entered.
  636. X  The spline will pass through the entered points.
  637. X  .TP
  638. X--- 1476,1588 ----
  639. X  .TP
  640. X  .I ARC-BOX
  641. X  Create rectangular boxes with rounded corners.
  642. X! Start and finish with mouse button 1 in the same way as
  643. X! .IR BOX .
  644. X! The radius of the corners is selected by the
  645. X! .I "BOX CURVE"
  646. X! button.
  647. X  .TP
  648. X  .I CIRCLE
  649. X  Create circles by specifying their radii or diameters.
  650. X  Click mouse button 1 on the center of the circle and drag the mouse
  651. X! until the desired radius or diameter is attained.
  652. X! Click mouse button 1 again to finish the circle.
  653. X  .TP
  654. X  .I ELLIPSE
  655. X  Create ellipses using the same procedure as for the drawing of circles.
  656. X  .TP
  657. X! .I "ENCAPSULATED POSTSCRIPT OBJECT (EPS)"
  658. X  Click mouse button 1 on any corner
  659. X! for the
  660. X! .I EPS
  661. X! object and finish by clicking mouse button 1
  662. X! again on the diagonally opposite corner.
  663. X! The
  664. X! .I EDIT
  665. X! popup panel will appear and the file name of the
  666. X! .I EPS
  667. X! object may be entered.
  668. X! After pressing
  669. X! .I DONE
  670. X! or
  671. X! .I APPLY
  672. X! (see the description of the
  673. X! .I EDIT
  674. X! panel for the difference between the
  675. X! .I DONE
  676. X! and
  677. X! .I APPLY
  678. X! buttons) the bitmap part of the
  679. X! .I EPS
  680. X! object will appear in the box just created.
  681. X! If no
  682. X! .I EPS
  683. X! file is available yet or no name is entered or there is no
  684. X! .I "preview bitmap"
  685. X! in the
  686. X! .I EPS
  687. X! file, pressing
  688. X! .I DONE
  689. X  will pop down the edit panel and the word
  690. X! .I <empty>
  691. X! or the
  692. X! .I EPS
  693. X! file name will remain in the
  694. X! .I EPS
  695. X! box.
  696. X! Later, when the name of the
  697. X! .I EPS
  698. X! file is known or the file is available,
  699. X! you may re-read the
  700. X! .I EPS
  701. X! file using the popup edit panel and the bitmap part of the
  702. X! .I EPS
  703. X! file will replace the name in the box.
  704. X! .Sp
  705. X! If you want the original size of the
  706. X! .I EPS
  707. X! object, press the
  708. X! ``Use orig size'' button and the eps bitmap will enlarge or shrink to
  709. X! the size specified in the preview bitmap of the
  710. X! .I EPS
  711. X! file.
  712. X! If you want the
  713. X! .I EPS
  714. X! object to be approximately the size of
  715. X  the rectangle specified with the mouse but want the aspect ratio
  716. X! to be same as the original, press either ``Shrink to orig'' or
  717. X! ``Enlarge to orig'' buttons.
  718. X! You must press the
  719. X! .I APPLY
  720. X! button to see these effects.
  721. X! .Sp
  722. X! If the
  723. X! .I EPS
  724. X! file has no preview bitmap, but has a
  725. X! .I %%BoundingBox
  726. X! comment and
  727. X! .I xfig
  728. X! has been compiled
  729. X! with the
  730. X! .B \-DGSBIT
  731. X! flag and
  732. X! you have
  733. X! .I Ghostscript
  734. X! .RI ( gs )
  735. X! version 2.4 or newer then
  736. X! .I xfig
  737. X! will call
  738. X! .I Ghostscript
  739. X! to produce a preview bitmap on the screen.
  740. X! .I Ghostscript
  741. X! is available from
  742. X! .IR prep.ai.mit.edu .
  743. X  .TP
  744. X! .I "INTERPOLATED SPLINE"
  745. X  Create (cubic spline) spline objects.
  746. X  Enter control vectors in the same way as for creation of a
  747. X! .I POLYLINE
  748. X! object.
  749. X  At least three points (two control vectors) must be entered.
  750. X  The spline will pass through the entered points.
  751. X  .TP
  752. X***************
  753. X*** 892,919 ****
  754. X  .I POLYLINE
  755. X  Create polylines (line segments connecting a sequence of points).
  756. X  Enter points by clicking mouse button 1 at the desired positions on the
  757. X! canvas window.  Click mouse button 2 to finish.
  758. X  .TP
  759. X  .I POLYGON
  760. X! Same as \fIPOLYLINE\fP
  761. X  except that a line segment is drawn connecting the first and last
  762. X  points entered.
  763. X  .TP
  764. X! .I REGULAR POLYGON
  765. X! The number of sides is first selected with the \fINUM SIDES\fP
  766. X! button in the indicator panel.  Then mouse button 1 is clicked on
  767. X! the center and the mouse dragged to the desired size.  The object
  768. X! may be rotated as it is being created by moving the mouse up or down
  769. X! relative to the starting point.  Click mouse button 1 to finish.
  770. X  .TP
  771. X! .I CLOSED INTERPOLATED SPLINE
  772. X! Create closed or periodic splines.  The function is similar
  773. X! to \fIPOLYGON\fP except that a closed interpolated spline is drawn.
  774. X  The spline will pass through the points (knots).
  775. X  .TP
  776. X! .I CLOSED SPLINE
  777. X  Create closed or periodic spline objects.
  778. X! The function is similar to \fIPOLYGON\fP
  779. X  except that a closed spline will be drawn instead of polygon.
  780. X  The entered points are just control points; i.e. the spline will
  781. X  not pass any of these points.
  782. X--- 1589,1624 ----
  783. X  .I POLYLINE
  784. X  Create polylines (line segments connecting a sequence of points).
  785. X  Enter points by clicking mouse button 1 at the desired positions on the
  786. X! canvas window.
  787. X! Click mouse button 2 to finish.
  788. X  .TP
  789. X  .I POLYGON
  790. X! Same as
  791. X! .I POLYLINE
  792. X  except that a line segment is drawn connecting the first and last
  793. X  points entered.
  794. X  .TP
  795. X! .I "REGULAR POLYGON"
  796. X! The number of sides is first selected with the
  797. X! .I "NUM SIDES"
  798. X! button in the indicator panel.
  799. X! Then mouse button 1 is clicked on
  800. X! the center and the mouse dragged to the desired size.
  801. X! The object may be rotated as it is being created
  802. X! by moving the mouse up or down relative to the starting point.
  803. X! Click mouse button 1 to finish.
  804. X  .TP
  805. X! .I "CLOSED INTERPOLATED SPLINE"
  806. X! Create closed or periodic splines.
  807. X! The function is similar to
  808. X! .I POLYGON
  809. X! except that a closed interpolated spline is drawn.
  810. X  The spline will pass through the points (knots).
  811. X  .TP
  812. X! .I "CLOSED SPLINE"
  813. X  Create closed or periodic spline objects.
  814. X! The function is similar to
  815. X! .I POLYGON
  816. X  except that a closed spline will be drawn instead of polygon.
  817. X  The entered points are just control points; i.e. the spline will
  818. X  not pass any of these points.
  819. X***************
  820. X*** 921,960 ****
  821. X  .I SPLINE
  822. X  Create (quadratic spline) spline objects.
  823. X  Enter control vectors in the same way as for creation of a
  824. X! \fIPOLYLINE\fP object.
  825. X  At least three points (two control vectors) must be entered.
  826. X  The spline will only pass through the two end points.
  827. X  .TP
  828. X  .I TEXT
  829. X! Create text strings. Click mouse button 1 at the desired position on
  830. X! the canvas window, then enter text from the keyboard.  Text may be pasted
  831. X! from the PRIMARY cut buffer (xterm cut/paste buffer) by pressing the
  832. X! \fIF18\fP function key (the \fIPaste\fP key on Sun keyboards)
  833. X! or any key/button defined in the translation
  834. X! table for the canvas.  See the default \fIFig.ad\fP file for example.
  835. X  Text is drawn using the current font, font size and justification settings.
  836. X  A DEL or ^H (backspace) will delete a character, while a ^X will
  837. X  erase the entire line.
  838. X! Finish by clicking mouse button 2 or typing the \fI<return>\fP key.
  839. X! If \fI<return>\fP is used, the text pointer automatically moves to the next "line",
  840. X! a distance of the font height times the value in the TEXT STEP button,
  841. X! and text input mode is re-entered.  To finish text fully, click
  842. X  mouse button 2 or choose any panel button that changes
  843. X  modes (e.g. box, save, etc).
  844. X  To edit text, click on an existing text string with mouse button 1.
  845. X! Insertion of characters will take place at that point.  Or, use the popup
  846. X! \fIEDIT\fP mode to modify the text.
  847. X! .sp
  848. X  Eight-bit characters may be entered using the meta (compose) key.
  849. X! For example, to create an "a umlaut", hold down the meta key while pressing
  850. X! the letter "a", then press " (quote).  To create a "c cedilla", use <meta>c
  851. X  followed by comma.
  852. X  The following is a list of all special characters available using the meta key:
  853. X! 
  854. X  .nf
  855. X! .ta .5i
  856. X  Keys    Character Name
  857. X! 
  858. X  !!    upside-down exclamation point
  859. X  ??    upside-down question mark
  860. X  C/    cent sign
  861. X--- 1626,1698 ----
  862. X  .I SPLINE
  863. X  Create (quadratic spline) spline objects.
  864. X  Enter control vectors in the same way as for creation of a
  865. X! .I POLYLINE
  866. X! object.
  867. X  At least three points (two control vectors) must be entered.
  868. X  The spline will only pass through the two end points.
  869. X  .TP
  870. X  .I TEXT
  871. X! Create text strings.
  872. X! Click mouse button 1 at the desired position on
  873. X! the canvas window, then enter text from the keyboard.
  874. X! Text may be pasted
  875. X! from the PRIMARY cut buffer
  876. X! .RI ( xterm
  877. X! cut/paste buffer) by pressing the
  878. X! .I F18
  879. X! function key (the
  880. X! .I Paste
  881. X! key on Sun keyboards) or any key/button defined in the translation
  882. X! table for the canvas.
  883. X! See the default
  884. X! .B Fig.ad
  885. X! file for example.
  886. X  Text is drawn using the current font, font size and justification settings.
  887. X  A DEL or ^H (backspace) will delete a character, while a ^X will
  888. X  erase the entire line.
  889. X! Finish by clicking mouse button 2 or typing the
  890. X! .I <return>
  891. X! key.
  892. X! If
  893. X! .I <return>
  894. X! is used, the text pointer automatically moves to the next ``line'',
  895. X! a distance of the font height times the value in the
  896. X! .I "TEXT STEP"
  897. X! button,
  898. X! and text input mode is re-entered.
  899. X! To finish text fully, click
  900. X  mouse button 2 or choose any panel button that changes
  901. X  modes (e.g. box, save, etc).
  902. X  To edit text, click on an existing text string with mouse button 1.
  903. X! Insertion of characters will take place at that point.
  904. X! Or, use the popup
  905. X! .I EDIT
  906. X! mode to modify the text.
  907. X! .Sp
  908. X  Eight-bit characters may be entered using the meta (compose) key.
  909. X! For example, to create an ``a umlaut'', hold down the meta key while pressing
  910. X! the letter ``a'', then press " (quote).
  911. X! To create a ``c cedilla'', use <meta>c
  912. X  followed by comma.
  913. X  The following is a list of all special characters available using the meta key:
  914. X! .Sp
  915. X! .\"--------------------------------------------------------------------
  916. X! .\" Table Begin
  917. X! .\"--------------------------------------------------------------------
  918. X! .nr t0 \w'Keys\0\0\0\0'u
  919. X! .ta \n(t0u
  920. X  .nf
  921. X! .\" set n to length of longest line
  922. X! .di xx
  923. X! !!    upside-down exclamation point
  924. X! .nr n \n(.nu
  925. X! .di
  926. X! .rm xx
  927. X! .\" HEADER
  928. X  Keys    Character Name
  929. X! .if n \l'\nnu\&-'
  930. X! .if t \l'\nnu'
  931. X! .\" BODY
  932. X  !!    upside-down exclamation point
  933. X  ??    upside-down question mark
  934. X  C/    cent sign
  935. X***************
  936. X*** 1049,1399 ****
  937. X  Y'    Y accent acute
  938. X  y'    y accent acute
  939. X  y"    y dieresis
  940. X  .fi
  941. X! 
  942. X  .SH "EDITING MODE PANEL COMMAND DESCRIPTIONS"
  943. X  When a button in the editing mode panel is pressed, any
  944. X  objects that may be affected by that editing operation will show their
  945. X! corner markers.  Only those objects may be affected by the particular
  946. X! edit mode.  In cases where two edit modes exist for one button, it
  947. X  may be that the corner markers will appear for objects that may be
  948. X  affected by one button but not the other.
  949. X- 
  950. X  .SH "SELECTING OBJECTS"
  951. X  When multiple objects have points in common, e.g. two boxes that
  952. X  touch at one corner, only one object can be selected by clicking on
  953. X! that point. To select other objects, hold down the shift key while
  954. X  pressing mouse button 1: the markers of one object will be
  955. X! temporarily highlighted.  By repeatedly clicking mouse button 1 while
  956. X  holding down the shift key, it is possible to cycle through all candidates for
  957. X! selection at that point. To perform the selected action, e.g.
  958. X! deleting one box, click on the point without holding down the
  959. X! shift key.  The operation will be performed on the highlighted object.
  960. X! 
  961. X! \fBNote:\fP
  962. X! If the mouse is not clicked near enough to an object marker or for whatever
  963. X! reason \fIxfig\fP cannot "find" the object the user is trying to select,
  964. X  a black square will temporarily appear above the mouse cursor.
  965. X  .TP
  966. X! .I GLUE COMPOUND
  967. X  Compound objects are created by first tagging the objects to be compounded
  968. X  and then pressing mouse button 3 to group the tagged
  969. X! objects into a compound object.  Single objects are tagged by clicking
  970. X! on them with mouse button 1.  A number of objects can be tagged at
  971. X! once by using mouse button 2 to define the upper-left and
  972. X! lower-right corners of a region enclosing the objects.
  973. X  Tagged objects are shown with highlighted markers.
  974. X! Tagged objects which are selected (see the SELECTING OBJECTS section above)
  975. X  will be temporarily unhighlighted.
  976. X  There is currently no special command to tag or untag all of the objects
  977. X! within a figure.  You can untag all of the objects by changing from
  978. X! GLUE mode to some other mode (apart from BREAK) and back again.
  979. X  .TP
  980. X! .I BREAK COMPOUND
  981. X  Break a compound object to allow manipulation of its component parts.
  982. X  Click mouse button 1 on one of the corner markers of the compound
  983. X  object or along one of the imaginary lines defining the compound box.
  984. X  Clicking with mouse button 2 will achieve the same effect
  985. X  but will also tag the component parts (although you will not see the
  986. X! tags until you change to the GLUE mode).  You can use this feature
  987. X! to easily alter the objects within a compound.
  988. X  .TP
  989. X! .I SCALE OBJECT
  990. X! Any object may be scaled.  If mouse button 1 is pressed on a
  991. X! \fIBOX\fP or \fIARC-BOX\fP object, then that object will be scaled
  992. X! proportionally to its aspect ratio.  If mouse button 2 is pressed
  993. X! on any object, that object will be scaled up or down about its center.
  994. X! Text may only be scaled if inside a compound object and then only if
  995. X! its \fIRIGID\fP flag is set to \fINORMAL\fP (using the popup edit panel).
  996. X! See the \fITransFig\fP manual for description of text options.
  997. X  .TP
  998. X  .I ALIGN
  999. X! Align objects.  Click mouse button 1 to align objects inside a compound object
  1000. X  or mouse button 2 to align all objects on canvas according to the
  1001. X! setting in the \fIVERTICAL ALIGN\fP and \fIHORIZONTAL ALIGN\fP indicators.
  1002. X! The choices are the cumulative effect of vertically aligning the objects
  1003. X! to the \fITOP\fP, \fIMIDDL\fPE or \fIBOTTO\fPM edge and horizontally aligning
  1004. X! to the \fILEF\fPT, \fIMIDDL\fPE or \fIRIGH\fPT edge of the compound.
  1005. X  .TP
  1006. X! .I MOVE POINT
  1007. X! Modify the position of a point of any object except \fITEXT\fP and
  1008. X! \fICOMPOUND\fP objects.
  1009. X  For unrestrained movement, click mouse button 1 over the desired
  1010. X! point, reposition the point, and click the \fIleft\fP button again.
  1011. X  For horizontally or vertically constrained move, click mouse button 2
  1012. X  on the desired point and move either horizontally or vertically.
  1013. X! Notice that once you choose the direction (horizontal or vertical), movement
  1014. X! is constrained in that direction.  If, after moving the mouse initially, it
  1015. X  is moved in the other direction a greater distance than the current position
  1016. X  of the mouse relative to the starting point, then that will be the new
  1017. X! constraint direction.  In otherwords if you first move the mouse
  1018. X! \fIhorizontally\fP one inch (say) then move it \fIvertically\fP
  1019. X! 1.3 inches, the direction will switch to \fIvertical\fP until any
  1020. X! \fIhorizontal\fP motion exceeds 1.3 inches.
  1021. X  When the object is positioned where desired, click mouse button 1 to
  1022. X  place it if that button was used to start the move (unconstrained),
  1023. X  or mouse button 2 (constrained) if that button was used.
  1024. X  .TP
  1025. X  .I MOVE
  1026. X! Move object.  Click mouse button 1 (unconstrained move) or mouse button 2
  1027. X  (constrained move) on any corner marker of the object to be moved.
  1028. X  The horizontal/vertical constrained movement (mouse button 2) works
  1029. X! exactly as described for \fIMOVE POINT\fP.
  1030. X  .TP
  1031. END_OF_FILE
  1032.   if test 36949 -ne `wc -c <'xfig.14'`; then
  1033.     echo shar: \"'xfig.14'\" unpacked with wrong size!
  1034.   fi
  1035.   # end of 'xfig.14'
  1036. fi
  1037. echo shar: End of archive 2 \(of 16\).
  1038. cp /dev/null ark2isdone
  1039. MISSING=""
  1040. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do
  1041.     if test ! -f ark${I}isdone ; then
  1042.     MISSING="${MISSING} ${I}"
  1043.     fi
  1044. done
  1045. if test "${MISSING}" = "" ; then
  1046.     echo You have unpacked all 16 archives.
  1047.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1048.     echo Creating merged patch file xfig.p2
  1049.     cat xfig.[01][0-9] > xfig.p2
  1050.     rm -f xfig.[01][0-9]
  1051. else
  1052.     echo You still must unpack the following archives:
  1053.     echo "        " ${MISSING}
  1054. fi
  1055. exit 0
  1056. exit 0 # Just in case...
  1057. -- 
  1058.   // chris@Sterling.COM           | Send comp.sources.x submissions to:
  1059. \X/  Amiga - The only way to fly! |    sources-x@sterling.com
  1060.  "It's intuitively obvious to the |
  1061.   most casual observer..."        | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
  1062.