home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-21 | 36.8 KB | 1,062 lines |
- Newsgroups: comp.sources.x
- From: envbvs@epb12.lbl.gov (Brian V. Smith)
- Subject: v21i023: xfig - Draw amd manipulate objects in an X-Window, Patch02c/16
- Message-ID: <1993Oct21.185727.6764@sparky.sterling.com>
- X-Md4-Signature: e661b09de0025ce204ce20b5fca061c3
- Sender: chris@sparky.sterling.com (Chris Olson)
- Organization: Sterling Software
- Date: Thu, 21 Oct 1993 18:57:27 GMT
- Approved: chris@sterling.com
-
- Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
- Posting-number: Volume 21, Issue 23
- Archive-name: xfig/patch02c
- 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.15
- # 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 3 (of 16)."'
- if test -f 'xfig.15' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'xfig.15'\"
- else
- echo shar: Extracting \"'xfig.15'\" \(34482 characters\)
- sed "s/^X//" >'xfig.15' <<'END_OF_FILE'
- X! .I ADD POINTS
- X! Add points to \fIPOLYLINE\fP, \fIPOLYGON\fP, \fISPLINE\fP,
- X! or \fICLOSED SPLINE\fP objects (points of a \fIBOX\fP can not be added
- X! or deleted). Note that a \fIREGULAR POLYGON\fP is really an ordinary
- X! \fIPOLYGON\fP, so adding points to this object is allowed and does NOT keep
- X the polygon regular.
- X .TP
- X! .I COPY / CUT TO CUT BUFFER
- X! Copy object to canvas or cut buffer. Click mouse button 1 (unconstrained
- X! copy) or mouse button 2 (constrained copy) on any corner marker of
- X! the object to be copied (for \fICIRCLE\fP and \fIELLIPSE\fP
- X objects, mouse may also be clicked on their circumferences).
- X! The object will be duplicated and then moved exactly as in \fIMOVE\fP.
- X If mouse button 3 is clicked on an object, that object is copied
- X to the cut buffer for pasting into this or another figure.
- X! The file used for the cut buffer is called \f3.xfig\f1
- X! in the user's \f3$HOME\f1 directory. This allows a user to run two or more
- X! xfig processes and cut/paste objects between them.
- X! If there is no \f3$HOME\f1, a file is created in a temporary directory
- X! called \f3xfig\f2PID\f1 where \f2PID\f1 is the xfig process ID.
- X The temporary directory used is specified in the environment variable
- X! \fIXFIGTMPDIR/\fR. If that variable is empty or not set then \fI/tmp\fP is used.
- X .TP
- X! .I DELETE POINTS
- X! Delete points from \fIPOLYLINE\fP, \fIPOLYGON\fP, \fISPLINE\fP,
- X! or \fICLOSED SPLINE\fP. Objects (points of a \fIBOX\fP or \fIARC-BOX\fP
- X can not be added or deleted).
- X! Note that a \fIREGULAR POLYGON\fP is really an ordinary
- X! \fIPOLYGON\fP, so deleting points from this object is allowed and does NOT
- X keep the polygon regular.
- X .TP
- X .I DELETE
- X Click mouse button 1 on an object to delete the object.
- X! Delete a \fIregion\fP of the canvas by clicking mouse button 2
- X and dragging the mouse to define an area of objects to delete.
- X Clicking mouse button 3 on an object will copy the object
- X! to the cut buffer (see \fICOPY/CUT TO CUT BUFFER\fP above).
- X .TP
- X! .I EDIT OBJECT
- X Edit settings for an existing object.
- X Click mouse button 1 on the object and a pop-up menu will appear
- X! showing existing settings for the object. Some of the menu entries
- X! may be changed by typing new values in the appropriate windows. These
- X! are editable Ascii\%TextWidgets and allow cut and paste.
- X Others pop up a sub-menu of multiple choices when pressed and held.
- X Yet others are buttons which toggle a setting on or off (e.g. arrow
- X heads on lines).
- X!
- X! Press the "done" button to apply the changes to the object and finish.
- X! Press the "apply" button to apply the changes but keep the menu up for
- X! further changes. Press the "cancel" button to cancel the changes and
- X! pop down the menu.
- X!
- X The following table shows which settings are used for the different objects.
- X!
- X! .if n .RS -.1i
- X .nf
- X! .TS
- X! l c 1 c 1 c 1 c 1 c 1 c 1 c 1 c 1 c.
- X! Object Angle Area Line Line Box \(ddDepth Color Radius Text Font/
- X! Fill Width Style Curve Just./Size
- X! _
- X! Arc X X X X X
- X! _
- X! Arc-Box X X X X X X
- X! _
- X! Circle X X X X X X X
- X! _
- X! Ellipse X X X X X X X
- X! _
- X! EPS X X
- X! _
- X! Box,Polygon, X X X X X
- X! Line,Spline
- X! _
- X! Text \(dgX X X X
- X! _
- X! .TE
- X .fi
- X .if n .RE
- X!
- X! \(dg The angle may be set, but the object will only be rotated on
- X! \fIPostScript\fP output for angles other than 0, 90, 180 and 270 degrees.
- X!
- X! \(dd The depth defines how overlapping objects are displayed. Objects with
- X! a greater depth value are obstructed by objects with smaller depth value.
- X The maximum depth allowed is 1000.
- X!
- X .TP
- X .I UPDATE
- X By pressing mouse button 1 on an object, the current settings for
- X the indicator buttons (line width, line style, area fill etc.) which
- X have been selected for update are copied into that object.
- X! When \fIxfig\fP is started, all indicator buttons which are components of objects
- X! are selected for update. To unselect an indicator, click on the update button
- X and click mouse button 1 on the small button in the upper-right
- X! corner of the indicator. When that indicator is selected the foreground color
- X! (default black) shows. When it is unselected the background color (default white)
- X! shows.
- X! .sp
- X If mouse button 2 is clicked on an object, the settings in the object
- X that are selected by the indicator buttons are copied into those indicator button
- X! settings. Thus, one may copy selected attributes of one object to another.
- X .TP
- X! .I FLIP VERTICALLY
- X Flip the object up/down (mouse button 1) or copy the object and flip it
- X! (mouse button 2). Point to part of the object, click
- X! the appropriate button. That object will be flipped vertically
- X! about that point.
- X .TP
- X! .I FLIP HORIZONTALLY
- X Flip the object left/right (mouse button 1) or copy the object and flip it
- X! (mouse button 2). Point to part of the object, click
- X! the appropriate button. That object will be flipped horizontally
- X! about that point.
- X .TP
- X! .I ROTATE CLOCKWISE
- X Rotate the object (mouse button 1) or copy and rotate it
- X! (mouse button 2) -N degrees (clockwise), where N is the amount
- X! set in the rotation indicator button. The object is rotated about
- X! the chosen point.
- X! Not all objects can be rotated, and not all can be rotated at arbitrary
- X! angles. For example, \fIBOX\fP, \fIARC-BOX\fP and \fIEPS\fP objects may
- X! only be rotated by 90 degrees.
- X! Text objects may be rotated, although for angles other than 0, 90, 180
- X! and 270 degrees only the markers are rotated on the screen
- X! because of the limitations of the X11 Window System.
- X! Text IS rotated correctly on \fIPostScript\fP output, however.
- X .TP
- X! .I ROTATE COUNTER-CLOCKWISE
- X Rotate the object (mouse button 1) or copy (mouse button 2)
- X! +N degrees (counter-clockwise), where N is the amount set in the rotation
- X! indicator button. The object is rotated about the chosen
- X! point.
- X .TP
- X! .I SPLINE <-> POLYLINE
- X! Turn \fIPOLYGON\fP into a \fICLOSED INTERPOLATED SPLINE\fP object, or
- X! turn \fIPOLYLINE\fP into a \fIINTERPOLATED SPLINE\fP object.
- X .TP
- X! .I ADD/DELETE ARROWS
- X! Add or delete arrow heads of \fIARC\fP, \fIPOLYLINE\fP or \fISPLINE\fP
- X! objects. Add an arrow head by clicking mouse button 1 on the
- X! endpoint of the object. Delete an arrow head by clicking
- X! mouse button 2 on the endpoint or arrow head. The length and thickness
- X! of the arrowheads may be modified using the popup edit panel.
- X! .SH "PANNING"
- X! The figure may be panned by clicking mouse button 1, 2 or 3
- X! in the rulers. Clicking mouse button 1 in the top ruler
- X! will pan the image to left the by 1/2 inch (1cm in metric mode),
- X! adjusted for zoom factor. Clicking mouse button 3 in the top ruler
- X will pan the image right by the same amount.
- X! By pressing and \fIholding\fP mouse button 2 the user may drag
- X! the ruler by the amount desired, thus panning the image by that amount.
- X .PP
- X The figure is panned up and down in the same way by clicking the mouse
- X! in the ruler on the right of the canvas. Also, the figure can be returned
- X! to its origin by clicking mouse button 1 in the units
- X! (e.g. \fIcm\fP or \fIin\fP) box.
- X .PP
- X The arrow keys may also be used to pan the image and the home key to
- X! return the figure to the origin. Also, pressing the Control Key and
- X! mouse button 2 will pan the figure to the origin.
- X!
- X! .SH X DEFAULTS
- X! The overall widget name(Class) is xfig(Fig). These
- X! resources correspond to the command line arguments:
- X .nf
- X! .sp
- X! .TS
- X! L 1 L 1 L 1 L 1 L.
- X Name Class Type Default Command-line
- X! equivalent
- X! _
- X! justify Justify boolean false -left (false) and
- X! -right (true)
- X! landscape Orientation boolean true -Landscape and
- X! -Portrait
- X! pwidth Width float 10(8) -pwidth
- X! pheight Height float 8(9.5) -pheight
- X! trackCursor Track boolean on -track and -notrack
- X! inches Inches boolean true -inches, -imperial,
- X! -centimeters and
- X! -metric
- X! reverseVideo ReverseVideo boolean off -inverse
- X! debug Debug boolean off -debug
- X! latexfonts Latexfonts boolean off -latexfonts
- X! normalFont NormalFont string fixed -normal
- X! boldFont ButtonFont string 8x13bold -bold
- X! startfontsize StartFontSize float 12 -startfontsize
- X! startpsFont StartpsFont string Times-Roman -startpsFont
- X! startlatexFont StartlatexFont string Default -startlatexFont
- X! showallbuttons ShowAllButtons boolean false -showallbuttons
- X! internalborderwidth InternalBorderWidth integer 1 -internalBW
- X! scalablefonts ScalableFonts boolean false -scalablefonts
- X! specialtext SpecialText boolean false -specialtext
- X! monochrome Monochrome boolean false -monochrome
- X! keyFile KeyFile string CompKeyDB -keyFile
- X! exportLanguage ExportLanguage string eps -exportLanguage
- X! flushleft FlushLeft boolean false -flushleft
- X! textoutline TextOutline boolean false -textoutline
- X! userscale UserScale float 1.0 -userscale
- X! userunit UserUnit string in(cm) -userunit
- X! color0 Color0 pixel black
- X! color1 Color1 pixel blue
- X! color2 Color2 pixel green
- X! color3 Color3 pixel cyan
- X! color4 Color4 pixel red
- X! color5 Color5 pixel magenta
- X! color6 Color6 pixel yellow
- X! color7 Color7 pixel white
- X! _
- X! .TE
- X The following are the default keyboard accelerators as distributed
- X! in the Fig.ad app-defaults file:
- X! .TS
- X! l l.
- X! Keys (Context) Function
- X (Main xfig panels)
- X! <Meta>q Quit xfig
- X! <Meta>d Delete all objects from canvas
- X! <Meta>u Undo
- X! <Meta>r Redraw
- X! <Meta>t pasTe xfig cutbuffer onto canvas
- X! <Meta>f popup File menu
- X! <Meta>e popup Export menu
- X! <Meta>p popup Print menu
- X! <Meta>l (re)Load figure from current file
- X! <Meta>s Save figure to current file
- X!
- X (Popup file panel)
- X! <Meta>r Rescan current directory
- X! <Meta>c Cancel
- X! <Meta>l Load figure
- X! <Meta>s Save figure
- X! <Meta>m Merge read into current figure
- X!
- X (Popup export panel)
- X! <Meta>r Rescan current dirctory
- X! <Meta>c Cancel
- X! <Meta>e Export figure
- X!
- X (Popup print panel)
- X! <Meta>c Cancel
- X! <Meta>b print to Batch file
- X! <Meta>p Print to printer
- X! <Meta>x clear batch file
- X! .TE
- X .fi
- X .SH WIDGET TREE
- X! Below is the widget structure of \fIxfig\fP.
- X The widget class name is given first, followed by the widget instance name.
- X .nf
- X! .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i
- X!
- X Fig xfig
- X Form form
- X Form commands
- X--- 1787,2411 ----
- X Y' Y accent acute
- X y' y accent acute
- X y" y dieresis
- X+ .if n \l'\nnu\&-'
- X+ .if t \l'\nnu'
- X+ .DT
- X .fi
- X! .\"--------------------------------------------------------------------
- X! .\" Table End
- 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.
- X! Only those objects may be affected by the particular edit mode.
- X! 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 .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.
- X! 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.
- X! 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.
- X! To perform the selected action, e.g.
- X! deleting one box, click on the point without holding down the shift key.
- X! The operation will be performed on the highlighted object.
- X! .PP
- X! .B Note:
- X! If the mouse is not clicked near enough to an object marker
- X! or for whatever reason
- X! .I xfig
- X! 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.
- X! Single objects are tagged by clicking on them with mouse button 1.
- X! A number of objects can be tagged at once by using mouse button 2
- X! to define the upper-left and lower-right corners of a region
- X! enclosing the objects.
- X Tagged objects are shown with highlighted markers.
- X! Tagged objects which are selected (see the
- X! .B "SELECTING OBJECTS"
- X! 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.
- X! You can untag all of the objects by changing from
- X! .I GLUE
- X! mode to some other mode (apart from
- X! .IR BREAK )
- X! 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
- X! .I GLUE
- X! mode).
- X! You can use this feature to easily alter the objects within a compound.
- X .TP
- X! .I "SCALE OBJECT"
- X! Any object may be scaled.
- X! If mouse button 1 is pressed on a
- X! .I BOX
- X! or
- X! .I ARC-BOX
- X! object, then that object will be scaled
- X! proportionally to its aspect ratio.
- X! If mouse button 2 is pressed on any object,
- X! 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 its
- X! .I RIGID
- X! flag is set to
- X! .I NORMAL
- X! (using the popup edit panel).
- X! See the
- X! .I TransFig
- X! manual for description of text options.
- X .TP
- X .I ALIGN
- X! Align objects.
- X! 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
- X! .I "VERTICAL ALIGN"
- X! and
- X! .I "HORIZONTAL ALIGN"
- X! indicators.
- X! The choices are the cumulative effect
- X! of vertically aligning the objects to the
- X! .IR TOP ,
- X! .IR MIDDL E
- X! or
- X! .IR BOTTO M
- X! edge and horizontally aligning to the
- X! .IR LEF T,
- X! .IR MIDDL E
- X! or
- X! .IR RIGH T
- X! edge of the compound.
- X .TP
- X! .I "MOVE POINT"
- X! Modify the position of a point of any object except
- X! .I TEXT
- X! and
- X! .I COMPOUND
- X! objects.
- X For unrestrained movement, click mouse button 1 over the desired
- X! point, reposition the point, and click the
- X! .I left
- X! 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),
- X! movement is constrained in that direction.
- X! 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.
- X! In other words if you first move the mouse
- X! .I horizontally
- X! one inch (say) then move it
- X! .I vertically
- X! 1.3 inches, the direction will switch to
- X! .I vertical
- X! until any
- X! .I horizontal
- X! 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.
- X! 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
- X! .IR "MOVE POINT" .
- X .TP
- X! .I "ADD POINTS"
- X! Add points to
- X! .IR POLYLINE ,
- X! .IR POLYGON ,
- X! .IR SPLINE ,
- X! or
- X! .I "CLOSED SPLINE"
- X! objects (points of a
- X! .I BOX
- X! can not be added or deleted).
- X! Note that a
- X! .I "REGULAR POLYGON"
- X! is really an ordinary
- X! .IR POLYGON ,
- X! so adding points to this object is allowed and does NOT keep
- X the polygon regular.
- X .TP
- X! .I "COPY / CUT TO CUT BUFFER"
- X! Copy object to canvas or cut buffer.
- X! Click mouse button 1 (unconstrained copy)
- X! or mouse button 2 (constrained copy) on any corner marker of
- X! the object to be copied (for
- X! .I CIRCLE
- X! and
- X! .I ELLIPSE
- X objects, mouse may also be clicked on their circumferences).
- X! The object will be duplicated and then moved exactly as in
- X! .IR MOVE .
- X If mouse button 3 is clicked on an object, that object is copied
- X to the cut buffer for pasting into this or another figure.
- X! The file used for the cut buffer is called
- X! .B .xfig
- X! in the user's
- X! .I $HOME
- X! directory.
- X! This allows a user to run two or more
- X! .I xfig
- X! processes and cut/paste objects between them.
- X! If there is no
- X! .IR $HOME ,
- X! a file is created in a temporary directory called
- X! .BI xfig PID
- X! where
- X! .I PID
- X! is the
- X! .I xfig
- X! process ID.
- X The temporary directory used is specified in the environment variable
- X! .IR XFIGTMPDIR .
- X! If that variable is empty or not set then
- X! .B /tmp
- X! is used.
- X .TP
- X! .I "DELETE POINTS"
- X! Delete points from
- X! .IR POLYLINE ,
- X! .IR POLYGON ,
- X! .IR SPLINE ,
- X! or
- X! .IR "CLOSED SPLINE" .
- X! Objects (points of a
- X! .I BOX
- X! or
- X! .I ARC-BOX
- X can not be added or deleted).
- X! Note that a
- X! .I "REGULAR POLYGON"
- X! is really an ordinary
- X! .IR POLYGON ,
- X! so deleting points from this object is allowed and does NOT
- X keep the polygon regular.
- X .TP
- X .I DELETE
- X Click mouse button 1 on an object to delete the object.
- X! Delete a
- X! .I region
- X! of the canvas by clicking mouse button 2
- X and dragging the mouse to define an area of objects to delete.
- X Clicking mouse button 3 on an object will copy the object
- X! to the cut buffer (see
- X! .I "COPY/CUT TO CUT BUFFER"
- X! above).
- X .TP
- X! .I "EDIT OBJECT"
- X Edit settings for an existing object.
- X Click mouse button 1 on the object and a pop-up menu will appear
- X! showing existing settings for the object.
- X! Some of the menu entries
- X! may be changed by typing new values in the appropriate windows.
- X! These are editable Ascii\%TextWidgets and allow cut and paste.
- X Others pop up a sub-menu of multiple choices when pressed and held.
- X Yet others are buttons which toggle a setting on or off (e.g. arrow
- X heads on lines).
- X! .IP \&
- X! Press the ``done'' button to apply the changes to the object and finish.
- X! Press the ``apply'' button to apply the changes but keep the menu up for
- X! further changes.
- X! Press the ``cancel'' button to cancel the changes and pop down the menu.
- X! .IP \&
- X The following table shows which settings are used for the different objects.
- X! .Sp
- X! .\"--------------------------------------------------------------------
- X! .\" Table Begin
- X! .\"--------------------------------------------------------------------
- X! .nr t0 \w'Polygon\0\0\0'u
- X! .nr t1 \n(t0+\w'Angle\0'u
- X! .nr t2 \n(t1+\w'Area\0\0'u
- X! .nr t3 \n(t2+\w'Width\0'u
- X! .nr t4 \n(t3+\w'Style\0'u
- X! .nr t5 \n(t4+\w'Curve\0'u
- X! .nr t6 \n(t5+\w'Depth\|\(dd\0'u
- X! .nr t7 \n(t6+\w'Color\0'u
- X! .nr t8 \n(t7+\w'Radius\0'u
- X! .nr t9 \n(t8+\w'Text Font/\0'u
- X! .ta \n(t0u \n(t1u \n(t2u \n(t3u \n(t4u \n(t5u \n(t6u \n(t7u \n(t8u \n(t9u
- X! .ds Bu \0\0\(bu
- X! .if n .RS -1i
- X! .if t .RS
- X .nf
- X! .ne 14
- X! Object Angle\&\&\& Area Line Line Box Depth\|\(dd Color Radius Text Font/
- X! .nr n \n(.nu
- X! \&\&\&\& Fill Width Style Curve \&\&\&\& \& \& Just./Size
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Arc \&\&\&\& \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Arc-Box \&\&\&\& \*(Bu \*(Bu \*(Bu \*(Bu \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Circle \&\&\&\*(Bu \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Ellipse \&\&\&\*(Bu \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! EPS \&\&\&\& \& \& \& \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Box \&\&\&\& \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Polygon \&\&\&\& \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Line \&\&\&\& \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Spline \&\&\&\& \*(Bu \*(Bu \*(Bu \& \&\&\*(Bu \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! Text \&\&\&\*(Bu \& \& \& \& \&\&\*(Bu \*(Bu \& \*(Bu
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .DT
- X .fi
- X .if n .RE
- X! .if t .RE
- X! .IP \&
- X! \(dd The depth defines how overlapping objects are displayed.
- X! Objects with a greater depth value are obstructed
- X! by objects with smaller depth value.
- X The maximum depth allowed is 1000.
- X! .\"--------------------------------------------------------------------
- X! .\" Table End
- X! .\"--------------------------------------------------------------------
- X .TP
- X .I UPDATE
- X By pressing mouse button 1 on an object, the current settings for
- X the indicator buttons (line width, line style, area fill etc.) which
- X have been selected for update are copied into that object.
- X! When
- X! .I xfig
- X! is started, all indicator buttons which are components of objects
- X! are selected for update.
- X! To unselect an indicator, click on the update button
- X and click mouse button 1 on the small button in the upper-right
- X! corner of the indicator.
- X! When that indicator is selected the foreground color
- X! (default black) shows.
- X! When it is unselected the background color (default white) shows.
- X! .IP \&
- X If mouse button 2 is clicked on an object, the settings in the object
- X that are selected by the indicator buttons are copied into those indicator button
- X! settings.
- X! Thus, one may copy selected attributes of one object to another.
- X .TP
- X! .I "FLIP VERTICALLY"
- X Flip the object up/down (mouse button 1) or copy the object and flip it
- X! (mouse button 2).
- X! Point to part of the object, click the appropriate button.
- X! That object will be flipped vertically about that point.
- X .TP
- X! .I "FLIP HORIZONTALLY"
- X Flip the object left/right (mouse button 1) or copy the object and flip it
- X! (mouse button 2).
- X! Point to part of the object, click the appropriate button.
- X! That object will be flipped horizontally about that point.
- X .TP
- X! .I "ROTATE CLOCKWISE"
- X Rotate the object (mouse button 1) or copy and rotate it
- X! (mouse button 2)
- X! .RI \- N
- X! degrees (clockwise), where
- X! .I N
- X! is the amount set in the rotation indicator button.
- X! The object is rotated about the chosen point.
- X! Not all objects can be rotated,
- X! and not all can be rotated at arbitrary angles.
- X! For example,
- X! .IR BOX ,
- X! .I ARC-BOX
- X! and
- X! .I EPS
- X! objects may only be rotated by 90 degrees.
- X! Text objects may be rotated to any angle and will be displayed at any
- X! angle now.
- X! Older versions of
- X! .I xfig
- X! (before 2.1.8) could only display
- X! horizontal and vertical text (2.1.7) or horizontal only (before 2.1.7).
- X .TP
- X! .I "ROTATE COUNTER-CLOCKWISE"
- X Rotate the object (mouse button 1) or copy (mouse button 2)
- X! .RI + N
- X! degrees (counter-clockwise), where
- X! .I N
- X! is the amount set in the rotation indicator button.
- X! The object is rotated about the chosen point.
- X .TP
- X! .I "SPLINE <\-> POLYLINE"
- X! Turn
- X! .I POLYGON
- X! into a
- X! .I "CLOSED INTERPOLATED SPLINE"
- X! object, or turn
- X! .I POLYLINE
- X! into a
- X! .I "INTERPOLATED SPLINE"
- X! object.
- X .TP
- X! .I "ADD/DELETE ARROWS"
- X! Add or delete arrow heads of
- X! .IR ARC ,
- X! .I POLYLINE
- X! or
- X! .I SPLINE
- X! objects.
- X! Add an arrow head by clicking mouse button 1 on the endpoint of the object.
- X! Delete an arrow head by clicking mouse button 2 on the endpoint or arrow head.
- X! The length and thickness of the arrowheads may be modified
- X! using the popup edit panel.
- X! .SH PANNING
- X! The figure may be panned by clicking mouse button 1, 2 or 3 in the rulers.
- X! Clicking mouse button 1 in the top ruler will pan the image to the left
- X! by 1/2 inch (1cm in metric mode), adjusted for zoom factor.
- X! Clicking mouse button 3 in the top ruler
- X will pan the image right by the same amount.
- X! By pressing and
- X! .I holding
- X! mouse button 2 the user may drag the ruler by the amount desired,
- X! thus panning the image by that amount.
- X .PP
- X The figure is panned up and down in the same way by clicking the mouse
- X! in the ruler on the right of the canvas.
- X! Also, the figure can be returned to its origin
- X! by clicking mouse button 1 in the units
- X! (e.g.
- X! .I cm
- X! or
- X! .IR in )
- X! box.
- X .PP
- X The arrow keys may also be used to pan the image and the home key to
- X! return the figure to the origin.
- X! Also, pressing the Control Key and mouse button 2
- X! will pan the figure to the origin.
- X! .SH "X DEFAULTS"
- X! The overall widget name(Class) is xfig(Fig).
- X! These resources correspond to the command line arguments:
- X! .PP
- X! .\"--------------------------------------------------------------------
- X! .\" Table Begin
- X! .\"--------------------------------------------------------------------
- X! .nr t0 \w'internalborderwidth\0'u
- X! .nr t1 \n(t0+\w'InternalBorderWidth\0'u
- X! .nr t2 \n(t1+\w'boolean\0'u
- X! .nr t3 \n(t2+\w'Times-Roman\0'u
- X! .ta \n(t0u \n(t1u \n(t2u \n(t3u
- X! .if n .RS -1i
- X! .if t .RS
- X .nf
- X! .\"-------
- X! .\" set n to length of table line
- X! .di xx
- X Name Class Type Default Command-line
- X! .nr n \n(.nu
- X! .di
- X! .rm xx
- X! .\"-------
- X! .\" HEADER
- X! .\"-------
- X! Name\&\&\&\&\&\& Class\&\&\&\&\&\& Type Default\&\&\&\&\& Command-line
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\& \&\&\&\&\&\&\&\& equivalent
- X! .\"-------
- X! .\" BODY
- X! .\"-------
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! justify\&\&\&\&\& Justify\&\&\&\&\& boolean false\&\&\&\&\&\& \-left (false),
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-right (true)
- X! landscape\&\&\&\& Orientation\&\&\& boolean true\&\&\&\&\&\& \-Landscape,
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-Portrait
- X! but_per_row\&\&\& But_per_row\&\&\& int 2\&\&\&\&\&\&\&\& \-but_per_row
- X! pwidth\&\&\&\&\& Width\&\&\&\&\&\& float 10(8)\&\&\&\&\&\& \-pwidth
- X! pheight\&\&\&\&\& Height\&\&\&\&\& float 8(9.5)\&\&\&\&\& \-pheight
- X! trackCursor\&\&\&\& Track\&\&\&\&\&\& boolean on\&\&\&\&\&\&\& \-track,
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-notrack
- X! inches\&\&\&\&\& Inches\&\&\&\&\& boolean true\&\&\&\&\&\& \-inches,
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-imperial,
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-centimeters,
- X! \&\&\&\&\&\&\&\& \&\&\&\&\&\&\&\& \&\&\& \&\&\&\&\&\&\&\& \-metric
- X! reverseVideo\&\& ReverseVideo\&\& boolean off\&\&\&\&\&\&\& \-inverse
- X! debug\&\&\&\&\&\& Debug\&\&\&\&\&\& boolean off\&\&\&\&\&\&\& \-debug
- X! latexfonts\&\&\& Latexfonts\&\&\& boolean off\&\&\&\&\&\&\& \-latexfonts
- X! normalFont\&\&\& NormalFont\&\&\& string fixed\&\&\&\&\&\& \-normal
- X! boldFont\&\&\&\& ButtonFont\&\&\& string 8x13bold\&\&\&\& \-bold
- X! startfontsize\&\& StartFontSize\&\& float 12\&\&\&\&\&\&\& \-startfontsize
- X! startpsFont\&\&\& StartpsFont\&\&\& string Times\-Roman\&\&\& \-startpsFont
- X! startlatexFont\& StartlatexFont\& string Default\&\&\&\&\& \-startlatexFont
- X! showallbuttons\& ShowAllButtons\& boolean false\&\&\&\&\&\& \-showallbuttons
- X! internalborderwidth InternalBorderWidth integer 1\&\&\&\&\&\&\&\& \-internalBW
- X! scalablefonts\&\& ScalableFonts\&\& boolean true\&\&\&\&\&\& \-scalablefonts
- X! specialtext\&\&\& SpecialText\&\&\& boolean false\&\&\&\&\&\& \-specialtext
- X! monochrome\&\&\&\& Monochrome\&\&\& boolean false\&\&\&\&\&\& \-monochrome
- X! keyFile\&\&\&\&\& KeyFile\&\&\&\&\& string CompKeyDB\&\&\&\& \-keyFile
- X! exportLanguage\& ExportLanguage\& string eps\&\&\&\&\&\&\& \-exportLanguage
- X! flushleft\&\&\&\& FlushLeft\&\&\&\& boolean false\&\&\&\&\&\& \-flushleft
- X! textoutline\&\&\& TextOutline\&\&\& boolean false\&\&\&\&\&\& \-textoutline
- X! userscale\&\&\&\& UserScale\&\&\&\& float 1.0\&\&\&\&\&\&\& \-userscale
- X! userunit\&\&\&\& UserUnit\&\&\&\& string in(cm)\&\&\&\&\& \-userunit
- X! color0\&\&\&\&\& Color0\&\&\&\&\& pixel black
- X! color1\&\&\&\&\& Color1\&\&\&\&\& pixel blue
- X! color2\&\&\&\&\& Color2\&\&\&\&\& pixel green
- X! color3\&\&\&\&\& Color3\&\&\&\&\& pixel cyan
- X! color4\&\&\&\&\& Color4\&\&\&\&\& pixel red
- X! color5\&\&\&\&\& Color5\&\&\&\&\& pixel magenta
- X! color6\&\&\&\&\& Color6\&\&\&\&\& pixel yellow
- X! color7\&\&\&\&\& Color7\&\&\&\&\& pixel white
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .if n .RE
- X! .if t .RE
- X! .fi
- X! .DT
- X! .\"--------------------------------------------------------------------
- X! .\" Table End
- X! .\"--------------------------------------------------------------------
- X! .PP
- X The following are the default keyboard accelerators as distributed
- X! in the
- X! .B Fig.ad
- X! app-defaults file:
- X! .PP
- X! .\"--------------------------------------------------------------------
- X! .\" Table Begin
- X! .\"--------------------------------------------------------------------
- X! .nf
- X! .nr t0 8m
- X! .\" set tab stop 1 to length of longest entry in column 1
- X! .nr t1 \n(t0u+\w'<Shift>m\0\0\0\0'u
- X! .ta \n(t0u \n(t1u
- X! .\" set n to length of longest line
- X! .di xx
- X! <Meta>l (re)Load figure from current file
- X! .nr n \n(.nu
- X! .di
- X! .rm xx
- X! .\" HEADER
- X! (Context)
- X! Keys Function
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .\" DATA
- X (Main xfig panels)
- X! <Meta>q Quit xfig
- X! <Meta>d Delete all objects from canvas
- X! <Meta>u Undo
- X! <Meta>r Redraw
- X! <Ctrl>l Redraw
- X! <Meta>t pasTe xfig cutbuffer onto canvas
- X! <Meta>f popup File menu
- X! <Meta>e popup Export menu
- X! <Meta>p popup Print menu
- X! <Meta>l (re)Load figure from current file
- X! <Meta>s Save figure to current file
- X! .Sp
- X! (Popup units panel in corner of rulers)
- X! <Meta>c Cancel popup unit panel
- X! <Meta>s Set units
- X! .Sp
- X (Popup file panel)
- X! <Meta>r Rescan current directory
- X! <Meta>c Cancel
- X! <Meta>l Load figure
- X! <Meta>s Save figure
- X! <Meta>m Merge read into current figure
- X! .Sp
- X (Popup export panel)
- X! <Meta>r Rescan current dirctory
- X! <Meta>c Cancel
- X! <Meta>e Export figure
- X! .Sp
- X (Popup print panel)
- X! <Meta>c Cancel
- X! <Meta>b print to Batch file
- X! <Meta>p Print to printer
- X! <Meta>x clear batch file
- X! .Sp
- X! (Canvas)
- X! <None>c Draw circle by radius
- X! <Shift>c Draw circle by diameter
- X! <None>e Draw ellipse by radius
- X! <Shift>e Draw ellipse by diameter
- X! <Shift>s Draw closed spline
- X! <None>s Draw open spline
- X! <Shift>i Draw closed interpolated spline
- X! <None>i Draw open interpolated spline
- X! <None>p Draw polygon
- X! <None>l Draw line
- X! <None>b Draw box
- X! <Shift>b Draw arcbox
- X! <Shift>p Draw regular polygon
- X! <None>r Draw arc
- X! <Ctrl>p Draw EPS object
- X! <None>t Draw text
- X!
- X! <None>g Glue compound
- X! <Shift>g Break compound
- X! <Ctrl>s Scale object
- X! <None>a Align object in compound
- X! <Shift>m Move point
- X! <None>m Move object
- X! <Ctrl>a Add point to object
- X! <Ctrl>c Copy object
- X! <Shift>d Delete point from object
- X! <None>d Delete object
- X! <None>u Update object or indicator panel
- X! <Ctrl>e Edit object
- X! <None>f Flip object up/down
- X! <Shift>f Flip object left/right
- X! <Ctrl>r Rotate object clockwise
- X! <Shift>r Rotate object counter-clockwise
- X! <None>v Convert object to/from line/spline
- X! <Shift>a Add/delete arrowhead
- X! .<if>n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .DT
- X .fi
- X+ .\"--------------------------------------------------------------------
- X+ .\" Table End
- X+ .\"--------------------------------------------------------------------
- X .SH WIDGET TREE
- X! Below is the widget structure of
- X! .IR xfig .
- X The widget class name is given first, followed by the widget instance name.
- X .nf
- X! .if t .ta .5i +.5i +.5i +.5i +.5i +.5i +.5i +.5i +.5i
- X! .if n .ta 2n +2n +2n +2n +2n +2n +2n +2n +2n
- X! .Sp
- X Fig xfig
- X Form form
- X Form commands
- X***************
- X*** 1406,1413 ****
- X Command export
- X Command print
- X Form msg_form
- X- Label file_name
- X Text message
- X Box mode_panel
- X Label label
- X Command button (one for each of the 16 drawing mode buttons)
- X--- 2418,2426 ----
- X Command export
- X Command print
- X Form msg_form
- X Text message
- X+ Label file_name
- X+ Label mouse_panel
- X Box mode_panel
- X Label label
- X Command button (one for each of the 16 drawing mode buttons)
- X***************
- X*** 1421,1438 ****
- X Core clip
- X Scrollbar horizontal
- X Box ind_panel
- X Form button_form (one for each of the 22 indicator buttons)
- X Command button
- X Toggle update (only those indicators that affect creation
- X of objects have update toggles)
- X!
- X TransientShell xfig_ps_font_menu
- X Box menu
- X Form buttons
- X Command cancel
- X Command use_latex_fonts
- X! Command pane (one for each of the 35 Postscript font panes)
- X!
- X TransientShell xfig_latex_font_menu
- X Box menu
- X Form buttons
- X--- 2434,2455 ----
- X Core clip
- X Scrollbar horizontal
- X Box ind_panel
- X+ Box upd_ctrl
- X+ Command set_upd
- X+ Command clr_upd
- X+ Command tog_upd
- X Form button_form (one for each of the 22 indicator buttons)
- X Command button
- X Toggle update (only those indicators that affect creation
- X of objects have update toggles)
- X! .Sp
- X TransientShell xfig_ps_font_menu
- X Box menu
- X Form buttons
- X Command cancel
- X Command use_latex_fonts
- X! Command pane (one for each of the 35 PostScript font panes)
- X! .Sp
- X TransientShell xfig_latex_font_menu
- X Box menu
- X Form buttons
- X***************
- X*** 1439,1445 ****
- X Command cancel
- X Command use_postscript_fonts
- X Command pane (one for each of the 6 LaTeX font panes)
- X!
- X TransientShell xfig_file_menu
- X Form file_panel
- X Label file_status
- X--- 2456,2462 ----
- X Command cancel
- X Command use_postscript_fonts
- X Command pane (one for each of the 6 LaTeX font panes)
- X! .Sp
- X TransientShell xfig_file_menu
- X Form file_panel
- X Label file_status
- X***************
- X*** 1468,1474 ****
- X Command save
- X Command load
- X Command merge
- X!
- X TransientShell xfig_export_menu
- X Form export_panel
- X Label mag_label
- X--- 2485,2491 ----
- X Command save
- X Command load
- X Command merge
- X! .Sp
- X TransientShell xfig_export_menu
- X Form export_panel
- X Label mag_label
- X***************
- X*** 1492,1499 ****
- X SmeBSB LaTeX picture + eepic macros
- X SmeBSB LaTeX picture + eepicemu macros
- X SmeBSB PiCTeX macros
- X! SmeBSB Encapsulated Postscript
- X! SmeBSB Postscript
- X SmeBSB Combined PS/LaTeX (PS part)
- X SmeBSB Combined PS/LaTeX (LaTeX part)
- X SmeBSB Textyl \especial commands
- X--- 2509,2517 ----
- X SmeBSB LaTeX picture + eepic macros
- X SmeBSB LaTeX picture + eepicemu macros
- X SmeBSB PiCTeX macros
- X! SmeBSB IBMGL (or HPGL)
- X! SmeBSB Encapsulated PostScript
- X! SmeBSB PostScript
- X SmeBSB Combined PS/LaTeX (PS part)
- X SmeBSB Combined PS/LaTeX (LaTeX part)
- X SmeBSB Textyl \especial commands
- END_OF_FILE
- if test 34482 -ne `wc -c <'xfig.15'`; then
- echo shar: \"'xfig.15'\" unpacked with wrong size!
- fi
- # end of 'xfig.15'
- fi
- echo shar: End of archive 3 \(of 16\).
- cp /dev/null ark3isdone
- 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+
-