home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-21 | 39.2 KB | 1,062 lines |
- Newsgroups: comp.sources.x
- From: envbvs@epb12.lbl.gov (Brian V. Smith)
- Subject: v21i022: xfig - Draw amd manipulate objects in an X-Window, Patch02b/16
- Message-ID: <1993Oct21.185712.6693@sparky.sterling.com>
- X-Md4-Signature: d4abc2f715ab703ff0e191193878dc32
- Sender: chris@sparky.sterling.com (Chris Olson)
- Organization: Sterling Software
- Date: Thu, 21 Oct 1993 18:57:12 GMT
- Approved: chris@sterling.com
-
- Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
- Posting-number: Volume 21, Issue 22
- Archive-name: xfig/patch02b
- Environment: patch, X11, xfig
- Patch-To: xfig: Volume 19, Issue 113-139
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # Contents: xfig.14
- # Wrapped by chris@sparky on Thu Oct 21 13:40:05 1993
- PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 2 (of 16)."'
- if test -f 'xfig.14' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'xfig.14'\"
- else
- echo shar: Extracting \"'xfig.14'\" \(36949 characters\)
- sed "s/^X//" >'xfig.14' <<'END_OF_FILE'
- X With this button the user may select no grid,
- X 1/4 inch (5mm in metric mode) grid or 1/2 inch (10mm) grid.
- X .TP
- X! .I POINT POSITION
- X This button controls the coarseness of object placement on the canvas.
- X The options are exact (on pixel) placement, 1/16 inch (2mm in metric mode), 1/4
- X! inch (5mm) or 1/2 inch (10mm). This allows the user to easily place objects
- X in horizontal or vertical alignment.
- X!
- X! This also restricts which objects may be "picked up" by the mouse when editing.
- X If a corner of an object is not positioned on the canvas on a multiple
- X! of the point positioning resolution you may not be able to pick it. If this
- X! happens, a black square will temporarily appear above the mouse cursor.
- X This square will also appear anytime the user tries to pick a nonexistent
- X object.
- X .TP
- X! .I ROTATION ANGLE
- X The rotation angle for rotating objects may be set/increased/decreased
- X with this button.
- X Note that not all objects may be rotated, and certain objects
- X--- 1132,1163 ----
- X is less than 1.0 in which case it will increase it to the nearest 0.25.
- X Pressing the control key and mouse button 3 together will
- X set the zoom scale to 1.
- X! .Sp
- X The figure may also be zoomed by defining a zoom rectangle by pressing
- X! the control key and mouse button 1 together.
- X! This will define one corner of the zoom rectangle.
- X! Move the mouse and click mouse button 1 again to
- X define the opposite corner of the zoom rectangle.
- X .TP
- X! .I "GRID MODE"
- X With this button the user may select no grid,
- X 1/4 inch (5mm in metric mode) grid or 1/2 inch (10mm) grid.
- X .TP
- X! .I "POINT POSITION"
- X This button controls the coarseness of object placement on the canvas.
- X The options are exact (on pixel) placement, 1/16 inch (2mm in metric mode), 1/4
- X! inch (5mm) or 1/2 inch (10mm).
- X! This allows the user to easily place objects
- X in horizontal or vertical alignment.
- X! .IP \&
- X! This also restricts which objects may be ``picked up'' by the mouse when editing.
- X If a corner of an object is not positioned on the canvas on a multiple
- X! of the point positioning resolution you may not be able to pick it.
- X! If this happens, a black square will temporarily appear above the mouse cursor.
- X This square will also appear anytime the user tries to pick a nonexistent
- X object.
- X .TP
- X! .I "ROTATION ANGLE"
- X The rotation angle for rotating objects may be set/increased/decreased
- X with this button.
- X Note that not all objects may be rotated, and certain objects
- X***************
- X*** 645,700 ****
- X The depth at which new objects will be created may be set/increased/decreased
- X with this button.
- X .TP
- X! .I NUMBER OF POLYGON SIDES
- X! The number of sides used in creating a \fIREGULAR POLYGON\fP is set with
- X! this button.
- X .TP
- X! .I SMART-LINKS MODE
- X! This button controls the smart-links mode. When turned on, lines which
- X! link box-like objects together (henceforth called \fIlinks\fP) are treated
- X specially when one of the box-like objects is moved.
- X! When set to \fIMOVE\fP mode, the end point of the link which touches
- X (or is very near) the perimeter of the box is moved with the
- X box so that the box and the end point remain linked.
- X! When set to \fISLIDE\fP mode, the end segment of the link slides so
- X that the box remains linked and the angle of the end segment is maintained.
- X This is useful for keeping the last segment of a link horizontal or vertical.
- X!
- X! (At the moment, this mode only works for the \fIMOVE\fP and \fICOPY\fP
- X! functions and only works for \fIPOLYLINE\fP links and box-like objects.
- X Another limitation at the moment is that if both ends of a link touch
- X the box being operated on, only one end of the link will be adjusted.)
- X .TP
- X! .I VERTICAL ALIGN
- X! This sets the vertical alignment mode for the \fIALIGN\fP button in the
- X! editing mode panel. The choices are no vertical alignment, align to top edge,
- X middle or bottom edge of compound.
- X! The \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
- X used together to align objects inside a compound or in canvas.
- X .TP
- X! .I HORIZONTAL ALIGN
- X! This sets the horizontal alignment mode for the \fIALIGN\fP button in the
- X! editing mode panel. The choices are no horizontal alignment, align to left edge,
- X middle or right edge of compound.
- X! The \fIHORIZONTAL ALIGN\fP and \fIVERTICAL ALIGN\fP indicator settings are
- X! used together to align objects inside a compound or in canvas.
- X .TP
- X! .I ANGLE GEOMETRY
- X The following settings are available to restrict the drawing angle of line
- X! segments in \fIPOLYLINES\fP, \fIPOLYGONS\fP and \fISPLINES\fP.
- X .po +.5i
- X .nr LL 6i
- X .TP
- X .I UNRESTRICTED
- X! Allow lines to be drawn with any slope. This is the default setting.
- X .TP
- X! .I LATEX LINE
- X! Allow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
- X! environment lines: slope = x/y, where x,y are integers in the range [-6,6].
- X .TP
- X! .I LATEX VECTOR
- X! Allow lines to be drawn only at slopes which can be handled by \fILaTeX\fP picture
- X! environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
- X .TP
- X .I MANHATTAN-MOUNTAIN
- X Allow lines to be drawn in the horizontal, vertical or diagonal direction only.
- X--- 1171,1267 ----
- X The depth at which new objects will be created may be set/increased/decreased
- X with this button.
- X .TP
- X! .I "NUMBER OF POLYGON SIDES"
- X! The number of sides used in creating a
- X! .I "REGULAR POLYGON"
- X! is set with this button.
- X .TP
- X! .I "SMART-LINKS MODE"
- X! This button controls the smart-links mode.
- X! When turned on, lines which
- X! link box-like objects together (henceforth called
- X! .IR links )
- X! are treated
- X specially when one of the box-like objects is moved.
- X! When set to
- X! .I MOVE
- X! mode, the end point of the link which touches
- X (or is very near) the perimeter of the box is moved with the
- X box so that the box and the end point remain linked.
- X! When set to
- X! .I SLIDE
- X! mode, the end segment of the link slides so
- X that the box remains linked and the angle of the end segment is maintained.
- X This is useful for keeping the last segment of a link horizontal or vertical.
- X! .IP \&
- X! (At the moment, this mode only works for the
- X! .I MOVE
- X! and
- X! .I COPY
- X! functions and only works for
- X! .I POLYLINE
- X! links and box-like objects.
- X Another limitation at the moment is that if both ends of a link touch
- X the box being operated on, only one end of the link will be adjusted.)
- X .TP
- X! .I "VERTICAL ALIGN"
- X! This sets the vertical alignment mode for the
- X! .I ALIGN
- X! button in the editing mode panel.
- X! The choices are no vertical alignment, align to top edge,
- X middle or bottom edge of compound.
- X! The
- X! .I "HORIZONTAL ALIGN"
- X! and
- X! .I "VERTICAL ALIGN"
- X! indicator settings are
- X used together to align objects inside a compound or in canvas.
- X .TP
- X! .I "HORIZONTAL ALIGN"
- X! This sets the horizontal alignment mode for the
- X! .I ALIGN
- X! button in the editing mode panel.
- X! The choices are no horizontal alignment, align to left edge,
- X middle or right edge of compound.
- X! The
- X! .I "HORIZONTAL ALIGN"
- X! and
- X! .I "VERTICAL ALIGN"
- X! indicator settings are used together to align objects
- X! inside a compound or in canvas.
- X .TP
- X! .I "ANGLE GEOMETRY"
- X The following settings are available to restrict the drawing angle of line
- X! segments in
- X! .IR POLYLINES ,
- X! .I POLYGONS
- X! and
- X! .IR SPLINES .
- X .po +.5i
- X .nr LL 6i
- X .TP
- X .I UNRESTRICTED
- X! Allow lines to be drawn with any slope.
- X! This is the default setting.
- X .TP
- X! .I "LATEX LINE"
- X! Allow lines to be drawn only at slopes which can be handled by
- X! .I LaTeX
- X! picture environment lines: slope =
- X! .IR x / y ,
- X! where
- X! .RI x , y
- X! are integers in the range [\-6,6].
- X .TP
- X! .I "LATEX VECTOR"
- X! Allow lines to be drawn only at slopes which can be handled by
- X! .I LaTeX
- X! picture
- X! environment vectors: slope =
- X! .IR x / y ,
- X! where
- X! .RI x , y
- X! are integers in the range [\-4,4].
- X .TP
- X .I MANHATTAN-MOUNTAIN
- X Allow lines to be drawn in the horizontal, vertical or diagonal direction only.
- X***************
- X*** 701,707 ****
- X .TP
- X .I MANHATTAN
- X Enforce drawing of lines in the horizontal and vertical direction only.
- X! The name \fIManhattan\fP comes from the horizontal/vertical look of the Manhattan
- X (New York City) skyline.
- X .TP
- X .I MOUNTAIN
- X--- 1268,1276 ----
- X .TP
- X .I MANHATTAN
- X Enforce drawing of lines in the horizontal and vertical direction only.
- X! The name
- X! .I Manhattan
- X! comes from the horizontal/vertical look of the Manhattan
- X (New York City) skyline.
- X .TP
- X .I MOUNTAIN
- X***************
- X*** 711,801 ****
- X .po -.5i
- X .nr LL 6.5i
- X .TP
- X! .I FILL STYLE
- X This button allows the user to select the area fill darkness (grey scale)
- X! for all objects except \fITEXT\fP and \fIENCAPSULATED POSTSCRIPT\fP,
- X or to turn off area fill altogether.
- X .TP
- X .I COLOR
- X The user may select one of eight predefined colors to draw with, or select
- X! that the \fIdefault\fP (-fg) color is to be used. The eight colors are black,
- X! blue, green, cyan, red, magenta, yellow and white. Note that \fITransFig\fP
- X! versions 2.1.4 and later support color output for \fIPostScript\fP.
- X On monochrome screens the objects are created with the selected color,
- X but black is used to draw the objects on the canvas.
- X .TP
- X! .I LINE WIDTH
- X! The width of lines may be selected with this button. Zero width lines may be
- X drawn for the purpose of having filled areas without outlines.
- X .TP
- X! .I LINE STYLE
- X! The choices for line style are solid, dashed and dotted. Once created,
- X! a dashed or dotted line may be edited to change the length of dashes
- X! or the spacing of dots respectively.
- X The dash length and dot gap can be changed from the default
- X using the popup menu.
- X .TP
- X! .I BOX CURVE
- X! The radius of the corners on \fIARC-BOX\fP objects may be set with this
- X! button.
- X .TP
- X! .I ARROW MODE
- X! This button selects the auto-arrow mode for drawing lines. The options are
- X! no arrow heads, backward-pointing arrow head, forward-pointing
- X! arrow head or both. If one or both arrow head modes are turned on, then
- X arrow heads are automatically drawn when drawing
- X! \fIPOLYLINE\fP, \fISPLINE\fP or \fIARC\fP objects.
- X .TP
- X! .I TEXT JUSTIFICATION
- X! The adjustment of text may be set to \fIleft\fP, \fIcenter\fP or
- X! \fIright justification\fP.
- X .TP
- X! .I TEXT SIZE
- X! The text size may be set/increased/decreased with this button. The default
- X! is 12 points.
- X .TP
- X! .I TEXT STEP
- X The interline spacing of text may be set/increased/decreased with this button.
- X The number displayed gives the multiple of the font height
- X! that will be placed between lines on hitting \fI<return>\fP. The default
- X! is a factor of 1.2 times the current font size.
- X .TP
- X! .I TEXT FONT
- X This button allows a selection of 35 fonts available for most Apple
- X! \fIPostScript\fP printers.
- X! There are two buttons at the top of the menu. The \fIcancel\fP button pops
- X! down the menu without changing the current font. The \fIuse latex fonts\fP
- X! will switch the menu to the \fILaTeX\fP font choices.
- X! When the \fILaTeX\fP font menu is up, besides a \fIcancel\fP button
- X! there is a button to switch back to the \fIPostScript\fP fonts.
- X!
- X The name of the font is printed in the font itself so that one may see
- X what that font looks like.
- X If a corresponding X11 font exists, new text is created
- X on the canvas using that font.
- X! \fIxfig\fP uses the size of X11 font closest to that selected
- X by the font size button.
- X! If the X11 font doesn't exist, \fIxfig\fP uses the font
- X! selected by the "-normal" option.
- X! To abort selection of a font, click mouse button 1 on \fIcancel\fP.
- X .TP
- X! .I TEXT FLAGS
- X! This button displays the current setting of the text flags. You may use
- X! mouse buttons 2 and 3 to step back and forth through the three flag settings:
- X! \fIHidden\fP, \fIRigid\fP and \fISpecial\fP. To change any of the flags
- X you must use mouse button 1 to popup a menu from which you may change any
- X or all of the flags.
- X!
- X! The \fIHidden\fP and \fISpecial\fP attributes of text objects are
- X! used with figures that will be incorporated into LaTeX. Please see
- X! the documentation for LaTeX for further information. The default for the
- X! \fIHidden\fP flag is \fIoff\fP.
- X! The default for the \fISpecial\fP flag is \fIoff\fP unless xfig is started
- X! with the command-line parameter \fI-specialtext\fP (resource specialtext).
- X!
- X! The \fIRigid\fP attribute forces text to remain the same size even if
- X! inside a compound object that is scaled up or down. The default is \fIoff\fP.
- X!
- X .SH "DRAWING AND EDITING MODE PANELS"
- X Icons in the drawing and editing mode panel windows represent
- X object manipulation functions,
- X--- 1280,1433 ----
- X .po -.5i
- X .nr LL 6.5i
- X .TP
- X! .I "FILL STYLE"
- X This button allows the user to select the area fill darkness (grey scale)
- X! for all objects except
- X! .I TEXT
- X! and
- X! .IR "ENCAPSULATED POSTSCRIPT" ,
- X or to turn off area fill altogether.
- X .TP
- X .I COLOR
- X The user may select one of eight predefined colors to draw with, or select
- X! that the
- X! .I default
- X! .RB ( \-fg )
- X! color is to be used.
- X! The eight colors are black, blue, green, cyan, red, magenta, yellow and white.
- X! Note that
- X! .I TransFig
- X! versions 2.1.4 and later support color output for
- X! .IR PostScript .
- X On monochrome screens the objects are created with the selected color,
- X but black is used to draw the objects on the canvas.
- X .TP
- X! .I "LINE WIDTH"
- X! The width of lines may be selected with this button.
- X! Zero width lines may be
- X drawn for the purpose of having filled areas without outlines.
- X .TP
- X! .I "LINE STYLE"
- X! The choices for line style are solid, dashed and dotted.
- X! Once created, a dashed or dotted line may be edited
- X! to change the length of dashes or the spacing of dots respectively.
- X The dash length and dot gap can be changed from the default
- X using the popup menu.
- X .TP
- X! .I "BOX CURVE"
- X! The radius of the corners on
- X! .I ARC-BOX
- X! objects may be set with this button.
- X .TP
- X! .I "ARROW MODE"
- X! This button selects the auto-arrow mode for drawing lines.
- X! The options are no arrow heads, backward-pointing arrow head,
- X! forward-pointing arrow head or both.
- X! If one or both arrow head modes are turned on, then
- X arrow heads are automatically drawn when drawing
- X! .IR POLYLINE ,
- X! .I SPLINE
- X! or
- X! .I ARC
- X! objects.
- X .TP
- X! .I "TEXT JUSTIFICATION"
- X! The adjustment of text may be set to
- X! .IR left ,
- X! .I center
- X! or
- X! .IR "right justification" .
- X .TP
- X! .I "TEXT SIZE"
- X! The text size may be set/increased/decreased with this button.
- X! The default is 12 points.
- X .TP
- X! .I "TEXT STEP"
- X The interline spacing of text may be set/increased/decreased with this button.
- X The number displayed gives the multiple of the font height
- X! that will be placed between lines on hitting
- X! .IR <return> .
- X! The default is a factor of 1.2 times the current font size.
- X .TP
- X! .I "TEXT FONT"
- X This button allows a selection of 35 fonts available for most Apple
- X! .I PostScript
- X! printers.
- X! There are two buttons at the top of the menu.
- X! The
- X! .I cancel
- X! button pops down the menu without changing the current font.
- X! The
- X! .I "use latex fonts"
- X! will switch the menu to the
- X! .I LaTeX
- X! font choices.
- X! When the
- X! .I LaTeX
- X! font menu is up, besides a
- X! .I cancel
- X! button there is a button to switch back to the
- X! .I PostScript
- X! fonts.
- X! .IP \&
- X The name of the font is printed in the font itself so that one may see
- X what that font looks like.
- X If a corresponding X11 font exists, new text is created
- X on the canvas using that font.
- X! .I xfig
- X! uses the size of X11 font closest to that selected
- X by the font size button.
- X! If the X11 font doesn't exist,
- X! .I xfig
- X! uses the font selected by the
- X! .B \-normal
- X! option.
- X! To abort selection of a font, click mouse button 1 on
- X! .IR cancel .
- X .TP
- X! .I "TEXT FLAGS"
- X! This button displays the current setting of the text flags.
- X! You may use mouse buttons 2 and 3 to step back and forth
- X! through the three flag settings:
- X! .IR Hidden ,
- X! .I Rigid
- X! and
- X! .IR Special .
- X! To change any of the flags
- X you must use mouse button 1 to popup a menu from which you may change any
- X or all of the flags.
- X! .IP \&
- X! The
- X! .I Hidden
- X! and
- X! .I Special
- X! attributes of text objects are
- X! used with figures that will be incorporated into
- X! .IR LaTeX .
- X! Please see the documentation for
- X! .I LaTeX
- X! for further information.
- X! The default for the
- X! .I Hidden
- X! flag is
- X! .IR off .
- X! The default for the
- X! .I Special
- X! flag is
- X! .I off
- X! unless
- X! .I xfig
- X! is started
- X! with the command-line parameter
- X! .B \-specialtext
- X! (resource specialtext).
- X! .IP \&
- X! The
- X! .I Rigid
- X! attribute forces text to remain the same size even if
- X! inside a compound object that is scaled up or down.
- X! The default is
- X! .IR off .
- X .SH "DRAWING AND EDITING MODE PANELS"
- X Icons in the drawing and editing mode panel windows represent
- X object manipulation functions,
- X***************
- X*** 802,813 ****
- X modes and other drawing or modification aids.
- X Manipulation functions are selected by positioning the cursor over the icon
- X representing the desired drawing/editing function and
- X! clicking mouse button 1. The selected icon is highlighted, and
- X a message describing its function appears in the message window.
- X The hilighting remains on until another function is selected.
- X .SH "DRAWING MODE PANEL COMMAND DESCRIPTIONS"
- X .PP
- X! The drawing mode panel contains buttons used to create the various \fIxfig\fP
- X objects.
- X Once the drawing mode is selected, the object is created by moving
- X the mouse to the point on the canvas where the object is to be placed
- X--- 1434,1447 ----
- X modes and other drawing or modification aids.
- X Manipulation functions are selected by positioning the cursor over the icon
- X representing the desired drawing/editing function and
- X! clicking mouse button 1.
- X! The selected icon is highlighted, and
- X a message describing its function appears in the message window.
- X The hilighting remains on until another function is selected.
- X .SH "DRAWING MODE PANEL COMMAND DESCRIPTIONS"
- X .PP
- X! The drawing mode panel contains buttons used to create the various
- X! .I xfig
- X objects.
- X Once the drawing mode is selected, the object is created by moving
- X the mouse to the point on the canvas where the object is to be placed
- X***************
- X*** 817,825 ****
- X For those objects which may have more than two points (e.g. a line),
- X mouse button 1 may be pressed for each successive point, and
- X mouse button 2 must be pressed to finish the object.
- X! To create a single point
- X! using the \fIPOLYLINE\fP button, press and release mouse button 2.
- X! For the \fIARC\fP object, which requires exactly three
- X points mouse button 1 is used for all three points.
- X .PP
- X At any time mouse button 3 may be pressed to cancel the
- X--- 1451,1462 ----
- X For those objects which may have more than two points (e.g. a line),
- X mouse button 1 may be pressed for each successive point, and
- X mouse button 2 must be pressed to finish the object.
- X! To create a single point using the
- X! .I POLYLINE
- X! button, press and release mouse button 2.
- X! For the
- X! .I ARC
- X! object, which requires exactly three
- X points mouse button 1 is used for all three points.
- X .PP
- X At any time mouse button 3 may be pressed to cancel the
- X***************
- X*** 826,834 ****
- X creation of the object.
- X .TP
- X .I ARC
- X! Create an arc. Specify three points using mouse button 1. The first and
- X! last points will form the endpoints of the arc and the second specifies
- X! any point on the arc.
- X .TP
- X .I BOX
- X Create rectangular boxes.
- X--- 1463,1472 ----
- X creation of the object.
- X .TP
- X .I ARC
- X! Create an arc.
- X! Specify three points using mouse button 1.
- X! The first and last points will form the endpoints of the arc
- X! and the second specifies any point on the arc.
- X .TP
- X .I BOX
- X Create rectangular boxes.
- X***************
- X*** 838,891 ****
- X .TP
- X .I ARC-BOX
- X Create rectangular boxes with rounded corners.
- X! Start and finish with mouse button 1 in the same way as \fIBOX\fP.
- X! The radius of the corners is selected by the \fIBOX CURVE\fP button.
- X .TP
- X .I CIRCLE
- X Create circles by specifying their radii or diameters.
- X Click mouse button 1 on the center of the circle and drag the mouse
- X! until the desired radius or diameter is attained. Click
- X! mouse button 1 again to finish the circle.
- X .TP
- X .I ELLIPSE
- X Create ellipses using the same procedure as for the drawing of circles.
- X .TP
- X! .I ENCAPSULATED POSTSCRIPT OBJECT (EPS)
- X Click mouse button 1 on any corner
- X! for the \fIEPS\fP object and finish by clicking mouse button 1
- X! again on the diagonally opposite corner. The \fIEDIT\fP
- X! popup panel will appear and the file name of the \fIEPS\fP object
- X! may be entered. After pressing \fIDONE\fP or \fIAPPLY\fP
- X! (see the description of the EDIT panel for the difference between
- X! the \fIDONE\fP and \fIAPPLY\fP buttons) the bitmap
- X! part of the \fIEPS\fP object will appear in the box just created. If no
- X! \fIEPS\fP file is available yet or no name is entered or there is no
- X! \fIpreview bitmap\fP in the \fIEPS\fP file, pressing \fIDONE\fP
- X will pop down the edit panel and the word
- X! \fI<empty>\fP or the \fIEPS\fP file name will remain in the \fIEPS\fP box.
- X! Later, when the name of the \fIEPS\fP file is known or the file is available,
- X! you may re-read the \fIEPS\fP file using the popup edit panel and the bitmap
- X! part of the \fIEPS\fP file will replace the name in the box.
- X! .sp
- X! If you want the original size of the \fIEPS\fP object, press the
- X! "Use orig size" button and the eps bitmap will enlarge or shrink to
- X! the size specified in the preview bitmap of the \fIEPS\fP file.
- X! If you want the \fIEPS\fP object to be approximately the size of
- X the rectangle specified with the mouse but want the aspect ratio
- X! to be same as the original, press either "Shrink to orig" or
- X! "Enlarge to orig" buttons. You must press the APPLY button to
- X! see these effects.
- X! .sp
- X! If the \fIEPS\fP file has no preview bitmap, but has a \fI%%BoundingBox\fP
- X! comment and xfig has been compiled \fIxfig\fP with the \fI-DGSBIT\fP flag and
- X! you have \fIgs\fP (ghostscript) version 2.4 or newer then xfig will
- X! call \fIgs\fP to produce a preview bitmap on the screen.
- X! Ghostscript is available from \fIprep.ai.mit.edu\fR.
- X .TP
- X! .I INTERPOLATED SPLINE
- X Create (cubic spline) spline objects.
- X Enter control vectors in the same way as for creation of a
- X! \fIPOLYLINE\fP object.
- X At least three points (two control vectors) must be entered.
- X The spline will pass through the entered points.
- X .TP
- X--- 1476,1588 ----
- X .TP
- X .I ARC-BOX
- X Create rectangular boxes with rounded corners.
- X! Start and finish with mouse button 1 in the same way as
- X! .IR BOX .
- X! The radius of the corners is selected by the
- X! .I "BOX CURVE"
- X! button.
- X .TP
- X .I CIRCLE
- X Create circles by specifying their radii or diameters.
- X Click mouse button 1 on the center of the circle and drag the mouse
- X! until the desired radius or diameter is attained.
- X! Click mouse button 1 again to finish the circle.
- X .TP
- X .I ELLIPSE
- X Create ellipses using the same procedure as for the drawing of circles.
- X .TP
- X! .I "ENCAPSULATED POSTSCRIPT OBJECT (EPS)"
- X Click mouse button 1 on any corner
- X! for the
- X! .I EPS
- X! object and finish by clicking mouse button 1
- X! again on the diagonally opposite corner.
- X! The
- X! .I EDIT
- X! popup panel will appear and the file name of the
- X! .I EPS
- X! object may be entered.
- X! After pressing
- X! .I DONE
- X! or
- X! .I APPLY
- X! (see the description of the
- X! .I EDIT
- X! panel for the difference between the
- X! .I DONE
- X! and
- X! .I APPLY
- X! buttons) the bitmap part of the
- X! .I EPS
- X! object will appear in the box just created.
- X! If no
- X! .I EPS
- X! file is available yet or no name is entered or there is no
- X! .I "preview bitmap"
- X! in the
- X! .I EPS
- X! file, pressing
- X! .I DONE
- X will pop down the edit panel and the word
- X! .I <empty>
- X! or the
- X! .I EPS
- X! file name will remain in the
- X! .I EPS
- X! box.
- X! Later, when the name of the
- X! .I EPS
- X! file is known or the file is available,
- X! you may re-read the
- X! .I EPS
- X! file using the popup edit panel and the bitmap part of the
- X! .I EPS
- X! file will replace the name in the box.
- X! .Sp
- X! If you want the original size of the
- X! .I EPS
- X! object, press the
- X! ``Use orig size'' button and the eps bitmap will enlarge or shrink to
- X! the size specified in the preview bitmap of the
- X! .I EPS
- X! file.
- X! If you want the
- X! .I EPS
- X! object to be approximately the size of
- X the rectangle specified with the mouse but want the aspect ratio
- X! to be same as the original, press either ``Shrink to orig'' or
- X! ``Enlarge to orig'' buttons.
- X! You must press the
- X! .I APPLY
- X! button to see these effects.
- X! .Sp
- X! If the
- X! .I EPS
- X! file has no preview bitmap, but has a
- X! .I %%BoundingBox
- X! comment and
- X! .I xfig
- X! has been compiled
- X! with the
- X! .B \-DGSBIT
- X! flag and
- X! you have
- X! .I Ghostscript
- X! .RI ( gs )
- X! version 2.4 or newer then
- X! .I xfig
- X! will call
- X! .I Ghostscript
- X! to produce a preview bitmap on the screen.
- X! .I Ghostscript
- X! is available from
- X! .IR prep.ai.mit.edu .
- X .TP
- X! .I "INTERPOLATED SPLINE"
- X Create (cubic spline) spline objects.
- X Enter control vectors in the same way as for creation of a
- X! .I POLYLINE
- X! object.
- X At least three points (two control vectors) must be entered.
- X The spline will pass through the entered points.
- X .TP
- X***************
- X*** 892,919 ****
- X .I POLYLINE
- X Create polylines (line segments connecting a sequence of points).
- X Enter points by clicking mouse button 1 at the desired positions on the
- X! canvas window. Click mouse button 2 to finish.
- X .TP
- X .I POLYGON
- X! Same as \fIPOLYLINE\fP
- X except that a line segment is drawn connecting the first and last
- X points entered.
- X .TP
- X! .I REGULAR POLYGON
- X! The number of sides is first selected with the \fINUM SIDES\fP
- X! button in the indicator panel. Then mouse button 1 is clicked on
- X! the center and the mouse dragged to the desired size. The object
- X! may be rotated as it is being created by moving the mouse up or down
- X! relative to the starting point. Click mouse button 1 to finish.
- X .TP
- X! .I CLOSED INTERPOLATED SPLINE
- X! Create closed or periodic splines. The function is similar
- X! to \fIPOLYGON\fP except that a closed interpolated spline is drawn.
- X The spline will pass through the points (knots).
- X .TP
- X! .I CLOSED SPLINE
- X Create closed or periodic spline objects.
- X! The function is similar to \fIPOLYGON\fP
- X except that a closed spline will be drawn instead of polygon.
- X The entered points are just control points; i.e. the spline will
- X not pass any of these points.
- X--- 1589,1624 ----
- X .I POLYLINE
- X Create polylines (line segments connecting a sequence of points).
- X Enter points by clicking mouse button 1 at the desired positions on the
- X! canvas window.
- X! Click mouse button 2 to finish.
- X .TP
- X .I POLYGON
- X! Same as
- X! .I POLYLINE
- X except that a line segment is drawn connecting the first and last
- X points entered.
- X .TP
- X! .I "REGULAR POLYGON"
- X! The number of sides is first selected with the
- X! .I "NUM SIDES"
- X! button in the indicator panel.
- X! Then mouse button 1 is clicked on
- X! the center and the mouse dragged to the desired size.
- X! The object may be rotated as it is being created
- X! by moving the mouse up or down relative to the starting point.
- X! Click mouse button 1 to finish.
- X .TP
- X! .I "CLOSED INTERPOLATED SPLINE"
- X! Create closed or periodic splines.
- X! The function is similar to
- X! .I POLYGON
- X! except that a closed interpolated spline is drawn.
- X The spline will pass through the points (knots).
- X .TP
- X! .I "CLOSED SPLINE"
- X Create closed or periodic spline objects.
- X! The function is similar to
- X! .I POLYGON
- X except that a closed spline will be drawn instead of polygon.
- X The entered points are just control points; i.e. the spline will
- X not pass any of these points.
- X***************
- X*** 921,960 ****
- X .I SPLINE
- X Create (quadratic spline) spline objects.
- X Enter control vectors in the same way as for creation of a
- X! \fIPOLYLINE\fP object.
- X At least three points (two control vectors) must be entered.
- X The spline will only pass through the two end points.
- X .TP
- X .I TEXT
- X! Create text strings. Click mouse button 1 at the desired position on
- X! the canvas window, then enter text from the keyboard. Text may be pasted
- X! from the PRIMARY cut buffer (xterm cut/paste buffer) by pressing the
- X! \fIF18\fP function key (the \fIPaste\fP key on Sun keyboards)
- X! or any key/button defined in the translation
- X! table for the canvas. See the default \fIFig.ad\fP file for example.
- X Text is drawn using the current font, font size and justification settings.
- X A DEL or ^H (backspace) will delete a character, while a ^X will
- X erase the entire line.
- X! Finish by clicking mouse button 2 or typing the \fI<return>\fP key.
- X! If \fI<return>\fP is used, the text pointer automatically moves to the next "line",
- X! a distance of the font height times the value in the TEXT STEP button,
- X! and text input mode is re-entered. To finish text fully, click
- X mouse button 2 or choose any panel button that changes
- X modes (e.g. box, save, etc).
- X To edit text, click on an existing text string with mouse button 1.
- X! Insertion of characters will take place at that point. Or, use the popup
- X! \fIEDIT\fP mode to modify the text.
- X! .sp
- X Eight-bit characters may be entered using the meta (compose) key.
- X! For example, to create an "a umlaut", hold down the meta key while pressing
- X! the letter "a", then press " (quote). To create a "c cedilla", use <meta>c
- X followed by comma.
- X The following is a list of all special characters available using the meta key:
- X!
- X .nf
- X! .ta .5i
- X Keys Character Name
- X!
- X !! upside-down exclamation point
- X ?? upside-down question mark
- X C/ cent sign
- X--- 1626,1698 ----
- X .I SPLINE
- X Create (quadratic spline) spline objects.
- X Enter control vectors in the same way as for creation of a
- X! .I POLYLINE
- X! object.
- X At least three points (two control vectors) must be entered.
- X The spline will only pass through the two end points.
- X .TP
- X .I TEXT
- X! Create text strings.
- X! Click mouse button 1 at the desired position on
- X! the canvas window, then enter text from the keyboard.
- X! Text may be pasted
- X! from the PRIMARY cut buffer
- X! .RI ( xterm
- X! cut/paste buffer) by pressing the
- X! .I F18
- X! function key (the
- X! .I Paste
- X! key on Sun keyboards) or any key/button defined in the translation
- X! table for the canvas.
- X! See the default
- X! .B Fig.ad
- X! file for example.
- X Text is drawn using the current font, font size and justification settings.
- X A DEL or ^H (backspace) will delete a character, while a ^X will
- X erase the entire line.
- X! Finish by clicking mouse button 2 or typing the
- X! .I <return>
- X! key.
- X! If
- X! .I <return>
- X! is used, the text pointer automatically moves to the next ``line'',
- X! a distance of the font height times the value in the
- X! .I "TEXT STEP"
- X! button,
- X! and text input mode is re-entered.
- X! To finish text fully, click
- X mouse button 2 or choose any panel button that changes
- X modes (e.g. box, save, etc).
- X To edit text, click on an existing text string with mouse button 1.
- X! Insertion of characters will take place at that point.
- X! Or, use the popup
- X! .I EDIT
- X! mode to modify the text.
- X! .Sp
- X Eight-bit characters may be entered using the meta (compose) key.
- X! For example, to create an ``a umlaut'', hold down the meta key while pressing
- X! the letter ``a'', then press " (quote).
- X! To create a ``c cedilla'', use <meta>c
- X followed by comma.
- X The following is a list of all special characters available using the meta key:
- X! .Sp
- X! .\"--------------------------------------------------------------------
- X! .\" Table Begin
- X! .\"--------------------------------------------------------------------
- X! .nr t0 \w'Keys\0\0\0\0'u
- X! .ta \n(t0u
- X .nf
- X! .\" set n to length of longest line
- X! .di xx
- X! !! upside-down exclamation point
- X! .nr n \n(.nu
- X! .di
- X! .rm xx
- X! .\" HEADER
- X Keys Character Name
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .\" BODY
- X !! upside-down exclamation point
- X ?? upside-down question mark
- X C/ cent sign
- X***************
- X*** 1049,1399 ****
- X Y' Y accent acute
- X y' y accent acute
- X y" y dieresis
- X .fi
- X!
- X .SH "EDITING MODE PANEL COMMAND DESCRIPTIONS"
- X When a button in the editing mode panel is pressed, any
- X objects that may be affected by that editing operation will show their
- X! corner markers. Only those objects may be affected by the particular
- X! edit mode. In cases where two edit modes exist for one button, it
- X may be that the corner markers will appear for objects that may be
- X affected by one button but not the other.
- X-
- X .SH "SELECTING OBJECTS"
- X When multiple objects have points in common, e.g. two boxes that
- X touch at one corner, only one object can be selected by clicking on
- X! that point. To select other objects, hold down the shift key while
- X pressing mouse button 1: the markers of one object will be
- X! temporarily highlighted. By repeatedly clicking mouse button 1 while
- X holding down the shift key, it is possible to cycle through all candidates for
- X! selection at that point. To perform the selected action, e.g.
- X! deleting one box, click on the point without holding down the
- X! shift key. The operation will be performed on the highlighted object.
- X!
- X! \fBNote:\fP
- X! If the mouse is not clicked near enough to an object marker or for whatever
- X! reason \fIxfig\fP cannot "find" the object the user is trying to select,
- X a black square will temporarily appear above the mouse cursor.
- X .TP
- X! .I GLUE COMPOUND
- X Compound objects are created by first tagging the objects to be compounded
- X and then pressing mouse button 3 to group the tagged
- X! objects into a compound object. Single objects are tagged by clicking
- X! on them with mouse button 1. A number of objects can be tagged at
- X! once by using mouse button 2 to define the upper-left and
- X! lower-right corners of a region enclosing the objects.
- X Tagged objects are shown with highlighted markers.
- X! Tagged objects which are selected (see the SELECTING OBJECTS section above)
- X will be temporarily unhighlighted.
- X There is currently no special command to tag or untag all of the objects
- X! within a figure. You can untag all of the objects by changing from
- X! GLUE mode to some other mode (apart from BREAK) and back again.
- X .TP
- X! .I BREAK COMPOUND
- X Break a compound object to allow manipulation of its component parts.
- X Click mouse button 1 on one of the corner markers of the compound
- X object or along one of the imaginary lines defining the compound box.
- X Clicking with mouse button 2 will achieve the same effect
- X but will also tag the component parts (although you will not see the
- X! tags until you change to the GLUE mode). You can use this feature
- X! to easily alter the objects within a compound.
- X .TP
- X! .I SCALE OBJECT
- X! Any object may be scaled. If mouse button 1 is pressed on a
- X! \fIBOX\fP or \fIARC-BOX\fP object, then that object will be scaled
- X! proportionally to its aspect ratio. If mouse button 2 is pressed
- X! on any object, that object will be scaled up or down about its center.
- X! Text may only be scaled if inside a compound object and then only if
- X! its \fIRIGID\fP flag is set to \fINORMAL\fP (using the popup edit panel).
- X! See the \fITransFig\fP manual for description of text options.
- X .TP
- X .I ALIGN
- X! Align objects. Click mouse button 1 to align objects inside a compound object
- X or mouse button 2 to align all objects on canvas according to the
- X! setting in the \fIVERTICAL ALIGN\fP and \fIHORIZONTAL ALIGN\fP indicators.
- X! The choices are the cumulative effect of vertically aligning the objects
- X! to the \fITOP\fP, \fIMIDDL\fPE or \fIBOTTO\fPM edge and horizontally aligning
- X! to the \fILEF\fPT, \fIMIDDL\fPE or \fIRIGH\fPT edge of the compound.
- X .TP
- X! .I MOVE POINT
- X! Modify the position of a point of any object except \fITEXT\fP and
- X! \fICOMPOUND\fP objects.
- X For unrestrained movement, click mouse button 1 over the desired
- X! point, reposition the point, and click the \fIleft\fP button again.
- X For horizontally or vertically constrained move, click mouse button 2
- X on the desired point and move either horizontally or vertically.
- X! Notice that once you choose the direction (horizontal or vertical), movement
- X! is constrained in that direction. If, after moving the mouse initially, it
- X is moved in the other direction a greater distance than the current position
- X of the mouse relative to the starting point, then that will be the new
- X! constraint direction. In otherwords if you first move the mouse
- X! \fIhorizontally\fP one inch (say) then move it \fIvertically\fP
- X! 1.3 inches, the direction will switch to \fIvertical\fP until any
- X! \fIhorizontal\fP motion exceeds 1.3 inches.
- X When the object is positioned where desired, click mouse button 1 to
- X place it if that button was used to start the move (unconstrained),
- X or mouse button 2 (constrained) if that button was used.
- X .TP
- X .I MOVE
- X! Move object. Click mouse button 1 (unconstrained move) or mouse button 2
- X (constrained move) on any corner marker of the object to be moved.
- X The horizontal/vertical constrained movement (mouse button 2) works
- X! exactly as described for \fIMOVE POINT\fP.
- X .TP
- END_OF_FILE
- if test 36949 -ne `wc -c <'xfig.14'`; then
- echo shar: \"'xfig.14'\" unpacked with wrong size!
- fi
- # end of 'xfig.14'
- fi
- echo shar: End of archive 2 \(of 16\).
- cp /dev/null ark2isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 16 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- echo Creating merged patch file xfig.p2
- cat xfig.[01][0-9] > xfig.p2
- rm -f xfig.[01][0-9]
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
- --
- // chris@Sterling.COM | Send comp.sources.x submissions to:
- \X/ Amiga - The only way to fly! | sources-x@sterling.com
- "It's intuitively obvious to the |
- most casual observer..." | GCS d+/-- p+ c++ l+ m+ s++/+ g+ w+ t+ r+ x+
-