home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-21 | 34.8 KB | 1,062 lines |
- Newsgroups: comp.sources.x
- From: envbvs@epb12.lbl.gov (Brian V. Smith)
- Subject: v21i025: xfig - Draw amd manipulate objects in an X-Window, Patch02e/16
- Message-ID: <1993Oct21.185812.6906@sparky.sterling.com>
- X-Md4-Signature: 55b6e9ea0652c8d8a68f962b59a426d6
- Sender: chris@sparky.sterling.com (Chris Olson)
- Organization: Sterling Software
- Date: Thu, 21 Oct 1993 18:58:12 GMT
- Approved: chris@sterling.com
-
- Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
- Posting-number: Volume 21, Issue 25
- Archive-name: xfig/patch02e
- 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.13
- # 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 5 (of 16)."'
- if test -f 'xfig.13' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'xfig.13'\"
- else
- echo shar: Extracting \"'xfig.13'\" \(32447 characters\)
- sed "s/^X//" >'xfig.13' <<'END_OF_FILE'
- X! of the indicator buttons visible at all times.
- X! This takes up more screen real estate,
- X! but allows the user to see all settable parameters.
- X! .\"-------
- X! .At
- X! .BR \-sp [ ecialtext ]
- X! .Ap
- X! Start
- X! .I xfig
- X! with the
- X! .I "special text"
- X! mode for text objects.
- X! .\"-------
- X! .At
- X! .BR \-startf [ ontsize ]
- X! .I pointsize
- X! .Ap
- X Set the default font size for text objects (default = 12pt).
- X! .\"-------
- X! .At
- X! .BR \-startl [ atexFont ]
- X! .I font
- X! .Ap
- X! Set the starting font name for
- X! .I LaTeX
- X! fonts.
- X! .\"-------
- X! .At
- X! .BR \-startp [ sFont ]
- X! .I font
- X! .Ap
- X! Set the starting font name for
- X! .I PostScript
- X! fonts.
- X! .\"-------
- X! .At
- X! .BR \-te [ xtoutline ]
- X! .Ap
- X! Specifies that
- X! .I xfig
- X! will draw a red (on color machines) outline
- X! of the ``actual'' bounding box of text objects.
- X! This is not very useful anymore.
- X! In the past it was useful to show you
- X! the outline of rotated text since
- X! .I xfig
- X! didn't display rotated text then.
- X! .\"-------
- X! .At
- X! .BR \-tr [ ack ]
- X! .Ap
- X Turn on cursor (mouse) tracking arrows (default).
- X! .\"-------
- X! .At
- X! .BR \-users [ cale ]
- X! .I scale
- X! .Ap
- X! Set the multiplier for displayed line lengths etc.
- X! This factor is multiplied by the actual length,
- X! radius or diameter of the object currently
- X! being drawn on the canvas.
- X! It is useful for making scale drawings, where
- X e.g. 1 inch = 1 foot (userscale = 12.0) or 1cm = 1m (userscale = 100.0).
- X! .\"-------
- X! .At
- X! .BR \-useru [ nit ]
- X! .I units
- X! .Ap
- X! The
- X! .I units
- X! string is printed with the length information when drawing objects.
- X! For example if the
- X! .I userscale
- X! = 1.0 and the
- X! .I userunit
- X! =
- X! .I ft
- X! then a line which is 3 inches long on the canvas would be displayed as
- X! ``length = 3 ft'' when it is being drawn.
- X! .IP
- X! After
- X! .I xfig
- X! is started you may change the
- X! .I userscale
- X! and the
- X! .I userunit
- X! from a popup menu available by pressing mouse button 3 in the
- X! .I units
- X! box where the two rulers meet.
- X .SH "GRAPHICAL OBJECTS"
- X! The objects in
- X! .I xfig
- X! are divided into
- X! .B "primitive objects"
- X! and
- X! .BR "compound objects" .
- X! The primitive objects are:
- X! .IR ARC ,
- X! .IR CIRCLE ,
- X! .IR "CLOSED SPLINE" ,
- X! .IR ELLIPSE ,
- X! .IR POLYLINE ,
- X! .IR POLYGON ,
- X! .IR "ENCAPSULATED POSTSCRIPT" ,
- X! .IR BOX ,
- X! .IR ARC-BOX ,
- X! .IR SPLINE ,
- X! and
- X! .IR TEXT .
- X .PP
- X A primitive object can be moved, rotated, flipped vertically or horizontally,
- X scaled, copied, aligned within a compound object or erased.
- X! The
- X! .I TEXT
- X! primitive may not be flipped.
- X The attributes of any primitive object can be edited using a popup
- X panel (discussed below), so you can, for instance, set the position
- X of an object manually.
- X .PP
- X! A compound object is composed of primitive objects.
- X! The primitive objects
- X! that constitute a compound can not be individually modified,
- X! but they can be manipulated as an entity;
- X! a compound can be moved, rotated, flipped
- X! vertically or horizontally, scaled, copied or erased.
- X! A compound that contains any boxes or arc-boxes
- X! may only be rotated by 90 degrees.
- X .PP
- X! Objects may overlap other objects according to their ``depth''.
- X! Objects with larger depth number are obscured by objects with smaller depth.
- X .PP
- X! .I Regular
- X! polygons may be created using a special drawing mode, but a
- X! general
- X! .I POLYGON
- X! is created as a result, which may then be modified, i.e.
- X the individual vertices may be moved if desired.
- X .SH "DISPLAY WINDOWS"
- X! Ten regions comprise the display area of
- X! .IR xfig :
- X! the command region, top ruler, side ruler, drawing mode region,
- X editing mode region, filename region, message region,
- X mouse function indicator region and canvas region,
- X and indicator region with buttons to set and show current line thickness,
- X***************
- X*** 274,405 ****
- X .SH "COMMAND PANEL FUNCTIONS"
- X .TP
- X .I Quit
- X! Exit from \fIxfig\fP, discarding the figure. If the figure has been modified and
- X not saved, the user will be asked to
- X confirm the action, by clicking mouse button 1 on a confirm/cancel popup menu.
- X .TP
- X! .I Delete ALL
- X Delete all objects from the canvas window (may be undone).
- X .TP
- X .I Undo
- X Undo the last object creation, deletion or modification.
- X .TP
- X .I Redraw
- X! Redraw the canvas.
- X .TP
- X .I Paste
- X Paste the object previously copied into the cut/paste file into the current
- X figure (at its original position).
- X .TP
- X .I File
- X! Pressing mouse button 3 on this button invokes \fISave\fP function without
- X! popping up the file panel.
- X .br
- X! Mouse button 1 or \fI<Meta>f\fP pops up a panel which contains several
- X! file-related functions:
- X .PP
- X .po +.5i
- X .nr LL 6i
- X .TP
- X! .I Current Filename
- X This is read-only AsciiTextWidget which contains the filename that will be used
- X! to write output to a file \fIif there is no name specified in\fP the
- X! \fIFilename\fP panel.
- X .TP
- X .I Filename
- X This is an editable AsciiTextWidget which contains the filename selected
- X! either by clicking on a filename from the \fIAlternatives\fP list or
- X! by typing a name in directly.
- X! Pressing return in the Filename window will \fILoad\fP the file and copy
- X! the name to the \fICurrent Filename\fP widget.
- X .TP
- X! .I (File) Alternatives
- X Pressing mouse button 1 on a filename in the file alternatives
- X! window will select that file by copying the filename into \fIFilename\fP window.
- X! Pressing return in this window will \fILoad\fP the file specified in the
- X! \fIFilename\fP window (if any) or the \fICurrent Filename\fP widget.
- X .TP
- X! .I Filename Mask
- X A wildcard mask may be typed into this editable AsciiTextWidget to restrict
- X! the search of filenames to a subset ala the \fIls\fP command.
- X Pressing return in this window will automatically
- X rescan the current directory.
- X This string may be set by setting the X toolkit resource
- X! \fB*file_panel*mask*string\fP.
- X .TP
- X! .I Current Directory
- X This is an editable AsciiTextWidget which shows the current directory.
- X! It may be modified by the user to manually set a directory name. When
- X! return is pressed in this window the directory specified is scanned for
- X! files matching the \fIFilenamemask\fP, if any.
- X!
- X! The ~ (tilde) character may be used to specify a user's home directory, ala
- X unix shell tilde expansion.
- X .TP
- X! .I (Directory) Alternatives
- X Pressing mouse button 1 on a directory name in the directory
- X! alternatives list will do a "change directory" to that directory.
- X!
- X Pressing mouse button 3 in either the file or
- X! \fIDirectory Alternatives\fP window will do a "change directory" to the
- X! parent directory.
- X .TP
- X .I Home
- X! Pressing this button will change the directory to the \f3$HOME\f1 directory
- X! of the user.
- X .TP
- X .I Rescan
- X! Pressing this button or \fI<Meta>r\fP will rescan the
- X! current directory.
- X .TP
- X .I Cancel
- X! Pressing this button or \fI<Meta>c\fP will pop down the \fIFile\fP panel
- X! without making any changes to the directory or file name.
- X .TP
- X .I Save
- X! Pressing this button or \fI<Meta>s\fP will save the current contents of the
- X canvas in the file specified in the
- X! \fIFilename\fP window \fIif any\fP, or the name specified in the
- X! \fICurrent Filename\fP if the former is empty.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X! If there is a filename in the \fIFilename\fP window it is copied to the
- X! \fICurrent Filename\fP window.
- X!
- X The current Export directory is updated to the current File directory when
- X Save is pressed.
- X .TP
- X .I Load
- X! Pressing this button or \fI<Meta>l\fP will clear the canvas of any
- X current figure and read the figure from the filename specified
- X! in the \fIFilename\fP menu item \fIif any\fP, or the name
- X! specified in the \fICurrent Filename\fP if the former is empty.
- X If there is a figure currently on the canvas and any modifications
- X have been made to it and not saved, a popup query
- X window will first appear asking if the user wishes to discard the current
- X! figure or cancel the \fILoad\fP operation.
- X!
- X The current Export directory is updated to the current File directory when
- X Load is pressed.
- X!
- X! A popup message window will appear and diagnostic messages will be written
- X! if \fIxfig\fP changes any "illegal" object values to legal values. For example,
- X! older versions of \fIxfig\fP were lax about initializing unused parts such as
- X! \fIdepth\fP, and would produce very large, random values.
- X! \fIXfig\fP now will "clean up" bad values and inform you when it does so.
- X! Also, if you read in an older file format, \fIxfig\fP will inform you that
- X! it is converting it to the current format for that version of \fIxfig\fP.
- X .br
- X This window can be popped down by clicking the mouse button on the
- X! \fIDismiss\fP button.
- X .TP
- X! .I Merge Read
- X! Pressing this button or \fI<Meta>r\fP will read the figure from the filename
- X! specified in the \fIFilename\fP window \fIif any\fP, or the name
- X! specified in the \fICurrent Filename\fP if the former is empty,
- X and merge it with the figure already shown on the canvas.
- X!
- X! See \fILoad\fP above for a description of the popup message window.
- X .PP
- X .po -.5i
- X .nr LL 6.5i
- X--- 617,835 ----
- X .SH "COMMAND PANEL FUNCTIONS"
- X .TP
- X .I Quit
- X! Exit from
- X! .IR xfig ,
- X! discarding the figure.
- X! If the figure has been modified and
- X not saved, the user will be asked to
- X confirm the action, by clicking mouse button 1 on a confirm/cancel popup menu.
- X+ The accelerator
- X+ .I <Meta>q
- X+ will also perform this function.
- X+ This and all other accelerators are defined in the
- X+ .I app-defaults
- X+ file and may be changed if desired.
- X .TP
- X! .I "Delete ALL"
- X Delete all objects from the canvas window (may be undone).
- X+ The accelerator
- X+ .I <Meta>d
- X+ will also perform this function.
- X .TP
- X .I Undo
- X Undo the last object creation, deletion or modification.
- X+ The accelerator
- X+ .I <Meta>u
- X+ will also perform this function.
- X .TP
- X .I Redraw
- X! Redraw the canvas. There are also two accelerators which do a redraw -
- X! .I <Meta>r
- X! and
- X! .I <Ctrl>l.
- X .TP
- X .I Paste
- X Paste the object previously copied into the cut/paste file into the current
- X figure (at its original position).
- X+ The accelerator
- X+ .I <Meta>t
- X+ will also perform this function.
- X .TP
- X .I File
- X! Pressing mouse button 3 on this button invokes
- X! .I Save
- X! function without popping up the file panel.
- X .br
- X! Mouse button 1 or
- X! .I <Meta>f
- X! pops up a panel which contains several file-related functions:
- X .PP
- X .po +.5i
- X .nr LL 6i
- X .TP
- X! .I "Current Filename"
- X This is read-only AsciiTextWidget which contains the filename that will be used
- X! to write output to a file
- X! .I "if there is no name specified in"
- X! the
- X! .I Filename
- X! panel.
- X .TP
- X .I Filename
- X This is an editable AsciiTextWidget which contains the filename selected
- X! either by clicking on a filename from the
- X! .I Alternatives
- X! list or by typing a name in directly.
- X! Pressing return in the Filename window will
- X! .I Load
- X! the file and copy the name to the
- X! .I "Current Filename"
- X! widget.
- X .TP
- X! .I "(File) Alternatives"
- X Pressing mouse button 1 on a filename in the file alternatives
- X! window will select that file by copying the filename into
- X! .I Filename
- X! window.
- X! Pressing return in this window will
- X! .I Load
- X! the file specified in the
- X! .I Filename
- X! window (if any) or the
- X! .I "Current Filename"
- X! widget.
- X .TP
- X! .I "Filename Mask"
- X A wildcard mask may be typed into this editable AsciiTextWidget to restrict
- X! the search of filenames to a subset ala the
- X! .I ls
- X! command.
- X Pressing return in this window will automatically
- X rescan the current directory.
- X This string may be set by setting the X toolkit resource
- X! .BR Fig*file_panel*mask*string .
- X .TP
- X! .I "Current Directory"
- X This is an editable AsciiTextWidget which shows the current directory.
- X! It may be modified by the user to manually set a directory name.
- X! When return is pressed in this window the directory specified is scanned for
- X! files matching the
- X! .IR Filenamemask ,
- X! if any.
- X! .IP \&
- X! The
- X! .B ~
- X! (tilde) character may be used to specify a user's home directory, ala
- X unix shell tilde expansion.
- X .TP
- X! .I "(Directory) Alternatives"
- X Pressing mouse button 1 on a directory name in the directory
- X! alternatives list will do a ``change directory'' to that directory.
- X! .IP \&
- X Pressing mouse button 3 in either the file or
- X! .I "Directory Alternatives"
- X! window will do a ``change directory'' to the parent directory.
- X .TP
- X .I Home
- X! Pressing this button will change the directory to the
- X! .I $HOME
- X! directory of the user.
- X .TP
- X .I Rescan
- X! Pressing this button or
- X! .I <Meta>r
- X! will rescan the current directory.
- X .TP
- X .I Cancel
- X! Pressing this button or
- X! .I <Meta>c
- X! will pop down the
- X! .I File
- X! panel without making any changes to the directory or file name.
- X .TP
- X .I Save
- X! Pressing this button or
- X! .I <Meta>s
- X! will save the current contents of the
- X canvas in the file specified in the
- X! .I Filename
- X! window
- X! .IR "if any" ,
- X! or the name specified in the
- X! .I "Current Filename"
- X! if the former is empty.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X! If there is a filename in the
- X! .I Filename
- X! window it is copied to the
- X! .I "Current Filename"
- X! window.
- X! .IP \&
- X The current Export directory is updated to the current File directory when
- X Save is pressed.
- X .TP
- X .I Load
- X! Pressing this button or
- X! .I <Meta>l
- X! will clear the canvas of any
- X current figure and read the figure from the filename specified
- X! in the
- X! .I Filename
- X! menu item
- X! .IR "if any" ,
- X! or the name specified in the
- X! .I "Current Filename"
- X! if the former is empty.
- X If there is a figure currently on the canvas and any modifications
- X have been made to it and not saved, a popup query
- X window will first appear asking if the user wishes to discard the current
- X! figure or cancel the
- X! .I Load
- X! operation.
- X! .IP \&
- X The current Export directory is updated to the current File directory when
- X Load is pressed.
- X! .IP \&
- X! A popup message window will appear and diagnostic messages
- X! will be written if
- X! .I xfig
- X! changes any ``illegal'' object values to legal values.
- X! For example,
- X! older versions of
- X! .I xfig
- X! were lax about initializing unused parts such as
- X! .IR depth ,
- X! and would produce very large, random values.
- X! .I Xfig
- X! now will ``clean up'' bad values and inform you when it does so.
- X! Also, if you read in an older file format,
- X! .I xfig
- X! will inform you that
- X! it is converting it to the current format for that version of
- X! .IR xfig .
- X .br
- X This window can be popped down by clicking the mouse button on the
- X! .I Dismiss
- X! button.
- X .TP
- X! .I "Merge Read"
- X! Pressing this button or
- X! .I <Meta>r
- X! will read the figure from the filename
- X! specified in the
- X! .I Filename
- X! window
- X! .IR "if any" ,
- X! or the name
- X! specified in the
- X! .I "Current Filename"
- X! if the former is empty,
- X and merge it with the figure already shown on the canvas.
- X! .IP \&
- X! See
- X! .I Load
- X! above for a description of the popup message window.
- X .PP
- X .po -.5i
- X .nr LL 6.5i
- X***************
- X*** 406,415 ****
- X .TP
- X .I Export
- X Will let you export the figure to an output file in one of several formats.
- X! Pressing mouse button 3 on this button invokes \fIExport\fP function without
- X! popping up the export panel.
- X .br
- X! Mouse button 1 or \fI<Meta>e\fP pops up a directory browser widget and
- X a menu with several export-related functions:
- X .PP
- X .po +.5i
- X--- 836,848 ----
- X .TP
- X .I Export
- X Will let you export the figure to an output file in one of several formats.
- X! Pressing mouse button 3 on this button invokes
- X! .I Export
- X! function without popping up the export panel.
- X .br
- X! Mouse button 1 or
- X! .I <Meta>e
- X! pops up a directory browser widget and
- X a menu with several export-related functions:
- X .PP
- X .po +.5i
- X***************
- X*** 417,505 ****
- X .TP
- X .I Magnification
- X This is an editable AsciiTextWidget which contains the magnification to use
- X! when translating figure to the output language. The default is 100%.
- X .TP
- X .I Orientation
- X This button will toggle the output orientation between Landscape (horizontal)
- X! and Portrait (vertical). The default orientation is the same as the mode
- X! that \fIxfig\fP was started with.
- X .TP
- X .I Justification
- X! This window will only be sensitive when the language selected is "ps" (\fIPostScript\fP).
- X! You may choose that the figure is \fIflush left\fP or \fIcentered\fP in the
- X output file.
- X .TP
- X .I Language
- X! The translation language to use for \fIxfig\fP output when output is
- X! directed to a file. The default is \fIPostScript\fP.
- X! The figure may be saved as an X11 bitmap by choosing \fIXbitmap\fP as the
- X! output language.
- X The bitmap is created from the figure, the size of which is determined
- X by the enclosing rectangle of all the figure plus a small border.
- X .TP
- X! .I Default Output Filename
- X This is read-only AsciiTextWidget which contains the filename that will be used
- X! to write output to a file \fIif there is no name specified in\fP Output File.
- X The default is the figure name plus an extension that reflects the output
- X! language used, e.g. myfigure.ps if PostScript is the current language used.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X .TP
- X! .I Output Filename
- X This is an editable AsciiTextWidget which contains the filename to use
- X to write output to a file.
- X! Pressing return in this window will \fIExport\fP the file and copy
- X! the name to the \fIDefault Output Filename\fP widget.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X .TP
- X! .I (File) Alternatives
- X Pressing mouse button 1 on a filename in the file alternatives
- X! window will select that file by copying the filename into \fIFilename\fP window.
- X! Pressing return in this window will \fIExport\fP the file and copy
- X! the name to the \fIDefault Output Filename\fP widget.
- X .TP
- X! .I Filename Mask
- X A wildcard mask may be typed into this editable AsciiTextWidget to restrict
- X! the search of filenames to a subset ala the \fIls\fP command.
- X Pressing return in this window will automatically
- X rescan the current directory.
- X This string may be set by setting the X toolkit resource
- X! \fB*export_panel*mask*string\fP.
- X .TP
- X! .I Current Directory
- X This is an editable AsciiTextWidget which shows the current directory.
- X! It may be modified by the user to manually set a directory name. When
- X return is pressed in this window the directory specified is scanned for
- X! files matching the \fIFilenamemask\fP, if any.
- X!
- X It is automatically updated
- X to follow the current File directory when a File Load or Save is done.
- X!
- X! The ~ (tilde) character may be used to specify a user's home directory, ala
- X unix shell tilde expansion.
- X .TP
- X! .I (Directory) Alternatives
- X Pressing mouse button 1 on a directory name in the directory
- X! alternatives list will do a "change directory" to that directory.
- X!
- X Pressing mouse button 3 in either the file or
- X! \fIDirectory Alternatives\fP window will do a "change directory" to the
- X parent directory.
- X .TP
- X .I Home
- X! Pressing this button will change the directory to the \f3$HOME\f1 directory
- X! of the user.
- X .TP
- X .I Rescan
- X! Pressing this button or \fI<Meta>r\fP will rescan the current directory.
- X .TP
- X .I Cancel
- X! Pressing this button or \fI<Meta>c\fP will pop down the \fIExport\fP menu
- X! without doing any print operation.
- X .TP
- X .I Export
- X! Pressing this button or \fI<Meta>e\fP will write (export) the figure
- X to the file using the selected language.
- X If the file already exists, a confirmation window will popup to ask the
- X user to confirm the write or cancel.
- X--- 850,981 ----
- X .TP
- X .I Magnification
- X This is an editable AsciiTextWidget which contains the magnification to use
- X! when translating figure to the output language.
- X! The default is 100%.
- X .TP
- X .I Orientation
- X This button will toggle the output orientation between Landscape (horizontal)
- X! and Portrait (vertical).
- X! The default orientation is the same as the mode that
- X! .I xfig
- X! was started with.
- X .TP
- X .I Justification
- X! This window will only be sensitive when the language selected is ``ps''
- X! .RI ( PostScript ).
- X! You may choose that the figure is
- X! .I "flush left"
- X! or
- X! .I centered
- X! in the
- X output file.
- X .TP
- X .I Language
- X! The translation language to use for
- X! .I xfig
- X! output when output is directed to a file.
- X! The default is
- X! .IR PostScript .
- X! The figure may be saved as an X11 bitmap by choosing
- X! .I Xbitmap
- X! as the output language.
- X The bitmap is created from the figure, the size of which is determined
- X by the enclosing rectangle of all the figure plus a small border.
- X .TP
- X! .I "Default Output Filename"
- X This is read-only AsciiTextWidget which contains the filename that will be used
- X! to write output to a file
- X! .I "if there is no name specified in"
- X! Output File.
- X The default is the figure name plus an extension that reflects the output
- X! language used, e.g.
- X! .B myfigure.ps
- X! if
- X! .I PostScript
- X! is the current language used.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X .TP
- X! .I "Output Filename"
- X This is an editable AsciiTextWidget which contains the filename to use
- X to write output to a file.
- X! Pressing return in this window will
- X! .I Export
- X! the file and copy the name to the
- X! .I "Default Output Filename"
- X! widget.
- X If the file already exists a confirmation popup menu will appear
- X asking the user to confirm or cancel the save.
- X .TP
- X! .I "(File) Alternatives"
- X Pressing mouse button 1 on a filename in the file alternatives
- X! window will select that file by copying the filename into
- X! .I Filename
- X! window.
- X! Pressing return in this window will
- X! .I Export
- X! the file and copy
- X! the name to the
- X! .I "Default Output Filename"
- X! widget.
- X .TP
- X! .I "Filename Mask"
- X A wildcard mask may be typed into this editable AsciiTextWidget to restrict
- X! the search of filenames to a subset ala the
- X! .I ls
- X! command.
- X Pressing return in this window will automatically
- X rescan the current directory.
- X This string may be set by setting the X toolkit resource
- X! .BR Fig*export_panel*mask*string .
- X .TP
- X! .I "Current Directory"
- X This is an editable AsciiTextWidget which shows the current directory.
- X! It may be modified by the user to manually set a directory name.
- X! When
- X return is pressed in this window the directory specified is scanned for
- X! files matching the
- X! .IR Filenamemask ,
- X! if any.
- X! .IP \&
- X It is automatically updated
- X to follow the current File directory when a File Load or Save is done.
- X! .IP \&
- X! The
- X! .B ~
- X! (tilde) character may be used to specify a user's home directory, ala
- X unix shell tilde expansion.
- X .TP
- X! .I "(Directory) Alternatives"
- X Pressing mouse button 1 on a directory name in the directory
- X! alternatives list will do a ``change directory'' to that directory.
- X! .IP \&
- X Pressing mouse button 3 in either the file or
- X! .I "Directory Alternatives"
- X! window will do a ``change directory'' to the
- X parent directory.
- X .TP
- X .I Home
- X! Pressing this button will change the directory to the
- X! .I $HOME
- X! directory of the user.
- X .TP
- X .I Rescan
- X! Pressing this button or
- X! .I <Meta>r
- X! will rescan the current directory.
- X .TP
- X .I Cancel
- X! Pressing this button or
- X! .I <Meta>c
- X! will pop down the
- X! .I Export
- X! menu without doing any print operation.
- X .TP
- X .I Export
- X! Pressing this button or
- X! .I <Meta>e
- X! will write (export) the figure
- X to the file using the selected language.
- X If the file already exists, a confirmation window will popup to ask the
- X user to confirm the write or cancel.
- X***************
- X*** 509,518 ****
- X .nr LL 6.5i
- X .TP
- X .I Print
- X! Pressing mouse button 3 on this button invokes \fIPrint to Printer\fP function
- X! without popping up the print panel. Pressing the \fIShift\fP key and
- X! mouse button 3 invokes the \fIPrint to Batch\fP function.
- X! Pressing mouse button 1 or \fI<Meta>p\fP pops up a menu with several
- X print-related functions:
- X .PP
- X .po +.5i
- X--- 985,1001 ----
- X .nr LL 6.5i
- X .TP
- X .I Print
- X! Pressing mouse button 3 on this button invokes
- X! .I "Print to Printer"
- X! function without popping up the print panel.
- X! Pressing the
- X! .I Shift
- X! key and mouse button 3 invokes the
- X! .I "Print to Batch"
- X! function.
- X! Pressing mouse button 1 or
- X! .I <Meta>p
- X! pops up a menu with several
- X print-related functions:
- X .PP
- X .po +.5i
- X***************
- X*** 524,586 ****
- X .TP
- X .I Orientation
- X This button will toggle the output orientation between Landscape (horizontal)
- X! and Portrait (vertical). The default orientation is the same as the mode
- X! that \fIxfig\fP was started with.
- X .TP
- X .I Justification
- X This button will bring up a sub-menu from which you may choose
- X! \fIcenter\fP or \fIflush left\fP to justify the figure on the page. The
- X! default is \fIflush left\fP.
- X .TP
- X .I Printer
- X This is an AsciiTextWidget which contains the printer to
- X! use if output is directed to a printer. The name of the printer may
- X! be set setting the X toolkit resource \fB*printer*string\fP.
- X! If no resource is set, the environment variable \fBPRINTER\fP is used.
- X .TP
- X! .I Print Job Params
- X This is an AsciiTextWidget which into which you may put any extra
- X command-line parameters that your lpr or lp program needs for printing.
- X .TP
- X! .I Figures in batch
- X This indicator shows how many figures have been put in the batch file
- X for printing
- X .TP
- X .I Dismiss
- X! Pressing this button or \fI<Meta>c\fP will pop down the \fIPrint\fP menu.
- X .TP
- X! .TP
- X! .I Print FIGURE/BATCH to Printer
- X! Pressing this button or \fI<Meta>p\fP will send the current figure
- X (or the batch file if it is has any figures in it) to the printer,
- X! by passing it through \fIfig2dev\fP to convert it to PostScript
- X! then to the unix \fIlpr\fP (on BSD equivalent Unixes)
- X! or \fIlp\fP (on SYSV systems) program. If the batch file is printed by this
- X button then it is removed after printing.
- X The message in the button changes to reflect whether the batch file
- X will be printed (when there are any figures in the batch file)
- X or the current figure.
- X!
- X Note that the figure that is printed is what you see on the canvas,
- X! not necessarily the figure file. I.e., if you haven't saved the figure
- X since the last changes, the figure from the canvas is printed.
- X! \fIXfig\fP writes the figure to a temporary file to do this.
- X! The name of the file is \fIXFIGTMPDIR\fB/xfig-print\fR\fIPID\fP, where
- X! \fIXFIGTMPDIR\fP is the value of the environment variable by that name and
- X! \fIPID\fP is the process ID of \fIxfig\fP. If the environment variable
- X! \fIXFIGTMPDIR\fP is empty or not set, the \fB/tmp\fR directory is used.
- X! .I Print FIGURE to Batch
- X! Pressing this button or \fI<Meta>b\fP will append the figure (in PostScript form)
- X to a batch file.
- X! The \fIPrint to Printer\fP button will send the batch file to the printer.
- X .TP
- X! .I Clear Batch
- X! Pressing this button or \fI<Meta>x\fP will erase the accumulated figures from
- X! the batch file.
- X .PP
- X .po -.5i
- X .nr LL 6.5i
- X-
- X .SH "INDICATOR PANEL COMMAND DESCRIPTIONS"
- X .PP
- X The indicator panel contains buttons to set certain drawing parameters
- X--- 1007,1109 ----
- X .TP
- X .I Orientation
- X This button will toggle the output orientation between Landscape (horizontal)
- X! and Portrait (vertical).
- X! The default orientation is the same as the mode that
- X! .I xfig
- X! was started with.
- X .TP
- X .I Justification
- X This button will bring up a sub-menu from which you may choose
- X! .I center
- X! or
- X! .I "flush left"
- X! to justify the figure on the page.
- X! The default is
- X! .IR "flush left" .
- X .TP
- X .I Printer
- X This is an AsciiTextWidget which contains the printer to
- X! use if output is directed to a printer.
- X! The name of the printer may be set setting the X toolkit resource
- X! .BR Fig*printer*string .
- X! If no resource is set, the environment variable
- X! .I PRINTER
- X! is used.
- X .TP
- X! .I "Print Job Params"
- X This is an AsciiTextWidget which into which you may put any extra
- X command-line parameters that your lpr or lp program needs for printing.
- X .TP
- X! .I "Figures in batch"
- X This indicator shows how many figures have been put in the batch file
- X for printing
- X .TP
- X .I Dismiss
- X! Pressing this button or
- X! .I <Meta>c
- X! will pop down the
- X! .I Print
- X! menu.
- X .TP
- X! .I "Print FIGURE/BATCH to Printer"
- X! Pressing this button or
- X! .I <Meta>p
- X! will send the current figure
- X (or the batch file if it is has any figures in it) to the printer,
- X! by passing it through
- X! .I fig2dev
- X! to convert it to
- X! .I PostScript
- X! then to the unix
- X! .I lpr
- X! (on BSD equivalent Unixes)
- X! or
- X! .I lp
- X! (on SYSV systems) program.
- X! If the batch file is printed by this
- X button then it is removed after printing.
- X The message in the button changes to reflect whether the batch file
- X will be printed (when there are any figures in the batch file)
- X or the current figure.
- X! .IP \&
- X Note that the figure that is printed is what you see on the canvas,
- X! not necessarily the figure file.
- X! I.e., if you haven't saved the figure
- X since the last changes, the figure from the canvas is printed.
- X! .I Xfig
- X! writes the figure to a temporary file to do this.
- X! The name of the file is
- X! .IB XFIGTMPDIR /xfig-print\c
- X! .IR PID ,
- X! where
- X! .I XFIGTMPDIR
- X! is the value of the environment variable by that name and
- X! .I PID
- X! is the process ID of
- X! .IR xfig .
- X! If the environment variable
- X! .I XFIGTMPDIR
- X! is empty or not set, the
- X! .B /tmp
- X! directory is used.
- X! .I "Print FIGURE to Batch"
- X! Pressing this button or
- X! .I <Meta>b
- X! will append the figure (in
- X! .I PostScript
- X! form)
- X to a batch file.
- X! The
- X! .I "Print to Printer"
- X! button will send the batch file to the printer.
- X .TP
- X! .I "Clear Batch"
- X! Pressing this button or
- X! .I <Meta>x
- X! will erase the accumulated figures from the batch file.
- X .PP
- X .po -.5i
- X .nr LL 6.5i
- X .SH "INDICATOR PANEL COMMAND DESCRIPTIONS"
- X .PP
- X The indicator panel contains buttons to set certain drawing parameters
- X***************
- X*** 589,595 ****
- X Pressing mouse button 1 on the indicator will pop up a panel
- X in which either a value may be typed (e.g. for a line thickness) or the
- X mouse may be clicked on one of several buttons (e.g. for grid style or
- X! font name). For those that expect a value, pressing return in the value
- X part of the window will set the new value and pop down the menu.
- X .PP
- X Pressing mouse button 2 on an indicator will decrement the value
- X--- 1112,1119 ----
- X Pressing mouse button 1 on the indicator will pop up a panel
- X in which either a value may be typed (e.g. for a line thickness) or the
- X mouse may be clicked on one of several buttons (e.g. for grid style or
- X! font name).
- X! For those that expect a value, pressing return in the value
- X part of the window will set the new value and pop down the menu.
- X .PP
- X Pressing mouse button 2 on an indicator will decrement the value
- X***************
- X*** 598,607 ****
- X mouse button 3 will increment the value or cycle through the options
- X in the other direction.
- X .TP
- X! .I ZOOM SCALE
- X The canvas zoom scale may be set/increased/decreased with this button.
- X! The zoom scale is displayed within the zoom button. Ruler,
- X! grid and linewidth are scaled, too.
- X Pressing mouse button 2 will decrease the zoom factor by 1.0 unless it
- X is less than 1.0 already in which case it will reduce to the nearest 0.25.
- X Pressing mouse button 3 will increase the zoom factor by 1.0 unless it
- X--- 1122,1131 ----
- X mouse button 3 will increment the value or cycle through the options
- X in the other direction.
- X .TP
- X! .I "ZOOM SCALE"
- X The canvas zoom scale may be set/increased/decreased with this button.
- X! The zoom scale is displayed within the zoom button.
- X! Ruler, grid and linewidth are scaled, too.
- X Pressing mouse button 2 will decrease the zoom factor by 1.0 unless it
- X is less than 1.0 already in which case it will reduce to the nearest 0.25.
- X Pressing mouse button 3 will increase the zoom factor by 1.0 unless it
- X***************
- X*** 608,637 ****
- 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. This will define one corner
- X! of the zoom rectangle. 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
- END_OF_FILE
- if test 32447 -ne `wc -c <'xfig.13'`; then
- echo shar: \"'xfig.13'\" unpacked with wrong size!
- fi
- # end of 'xfig.13'
- fi
- echo shar: End of archive 5 \(of 16\).
- cp /dev/null ark5isdone
- 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+
-