home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-21 | 31.4 KB | 1,062 lines |
- Newsgroups: comp.sources.x
- From: envbvs@epb12.lbl.gov (Brian V. Smith)
- Subject: v21i032: xfig - Draw amd manipulate objects in an X-Window, Patch02l/16
- Message-ID: <1993Oct21.185925.7405@sparky.sterling.com>
- X-Md4-Signature: 267c54aeccc6d503e0a509d26b706609
- Sender: chris@sparky.sterling.com (Chris Olson)
- Organization: Sterling Software
- Date: Thu, 21 Oct 1993 18:59:25 GMT
- Approved: chris@sterling.com
-
- Submitted-by: envbvs@epb12.lbl.gov (Brian V. Smith)
- Posting-number: Volume 21, Issue 32
- Archive-name: xfig/patch02l
- 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.12
- # Wrapped by chris@sparky on Thu Oct 21 13:40:07 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 12 (of 16)."'
- if test -f 'xfig.12' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'xfig.12'\"
- else
- echo shar: Extracting \"'xfig.12'\" \(28939 characters\)
- sed "s/^X//" >'xfig.12' <<'END_OF_FILE'
- X+ canvas_rightbut_proc = cancel_zoom;
- X elastic_box(my_fix_x, my_fix_y, my_cur_x, my_cur_y);
- X set_temp_cursor(null_cursor);
- X set_action_on();
- X***************
- X*** 133,138 ****
- X--- 133,154 ----
- X
- X show_zoom(&ind_switches[ZOOM_SWITCH_INDEX]);
- X }
- X+ /* restore state */
- X+ canvas_kbd_proc = save_kbd_proc;
- X+ canvas_locmove_proc = save_locmove_proc;
- X+ canvas_leftbut_proc = save_leftbut_proc;
- X+ canvas_middlebut_proc = save_middlebut_proc;
- X+ canvas_rightbut_proc = save_rightbut_proc;
- X+ canvas_kbd_proc = save_kbd_proc;
- X+ set_cursor(save_cur_cursor);
- X+ action_on = save_action_on;
- X+ zoom_in_progress = False;
- X+ }
- X+
- X+ static
- X+ cancel_zoom()
- X+ {
- X+ elastic_box(my_fix_x, my_fix_y, my_cur_x, my_cur_y);
- X /* restore state */
- X canvas_kbd_proc = save_kbd_proc;
- X canvas_locmove_proc = save_locmove_proc;
- Xdiff -rc xfig.2.1.7a/w_zoom.h xfig.2.1.8/w_zoom.h
- X*** xfig.2.1.7a/w_zoom.h Wed Dec 9 17:37:33 1992
- X--- xfig.2.1.8/w_zoom.h Wed May 5 10:05:43 1993
- X***************
- X*** 28,35 ****
- X a1,a2)
- X #define zXDrawLine(d,w,gc,x1,y1,x2,y2)\
- X XDrawLine(d,w,gc,ZOOMX(x1),ZOOMY(y1),ZOOMX(x2),ZOOMY(y2))
- X! #define zXRotDrawString(d,w,font,gc,x,y,s,l)\
- X! XRotDrawString(d,w,font,gc,ZOOMX(x),ZOOMY(y),s,l)
- X #define zXFillRectangle(d,w,gc,x1,y1,x2,y2)\
- X XFillRectangle(d,w,gc,ZOOMX(x1),ZOOMY(y1),\
- X round(zoomscale*(x2)),round(zoomscale*(y2)))
- X--- 28,35 ----
- X a1,a2)
- X #define zXDrawLine(d,w,gc,x1,y1,x2,y2)\
- X XDrawLine(d,w,gc,ZOOMX(x1),ZOOMY(y1),ZOOMX(x2),ZOOMY(y2))
- X! #define zXRotDrawString(d,font,ang,w,gc,x,y,s)\
- X! XRotDrawString(d,font,ang,w,gc,ZOOMX(x),ZOOMY(y),s)
- X #define zXFillRectangle(d,w,gc,x1,y1,x2,y2)\
- X XFillRectangle(d,w,gc,ZOOMX(x1),ZOOMY(y1),\
- X round(zoomscale*(x2)),round(zoomscale*(y2)))
- Xdiff -rc xfig.2.1.7a/Doc/FORMAT2.1 xfig.2.1.8/Doc/FORMAT2.1
- X*** xfig.2.1.7a/Doc/FORMAT2.1 Thu Oct 22 14:18:08 1992
- X--- xfig.2.1.8/Doc/FORMAT2.1 Thu Sep 30 15:03:00 1993
- X***************
- X*** 80,86 ****
- X int line_style (enumeration type)
- X int line_thickness (pixels)
- X int color (enumeration type)
- X! int depth (no units)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X--- 80,86 ----
- X int line_style (enumeration type)
- X int line_thickness (pixels)
- X int color (enumeration type)
- X! int depth (enumeration type)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X***************
- X*** 148,154 ****
- X int line_style (enumeration type)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (no units)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X--- 148,154 ----
- X int line_style (enumeration type)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (enumeration type)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X***************
- X*** 173,179 ****
- X int line_style (enumeration type)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (no units)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X--- 173,179 ----
- X int line_style (enumeration type)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (enumeration type)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X***************
- X*** 216,222 ****
- X int line_style (See the end of this section)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (no units)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X--- 216,222 ----
- X int line_style (See the end of this section)
- X int thickness (pixels)
- X int color (enumeration type)
- X! int depth (enumeration type)
- X int pen (not used)
- X int area_fill (enumeration type)
- X float style_val (pixels)
- X***************
- X*** 229,235 ****
- X
- X Points line : same as POLYLINE object
- X
- X! Control points line (absent if sub_type is 1 or 2) :
- X Control points of interpolated spline. There are two control
- X points for each knots. A section i, of the spline is drawn
- X using Bezier cubic with the following four points:
- X--- 229,235 ----
- X
- X Points line : same as POLYLINE object
- X
- X! Control points line (absent if sub_type is 0 or 1) :
- X Control points of interpolated spline. There are two control
- X points for each knots. A section i, of the spline is drawn
- X using Bezier cubic with the following four points:
- X***************
- X*** 258,267 ****
- X 1 : Center justified
- X 2 : Right justified)
- X int font (enumeration type)
- X! int font_size (points)
- X int pen (not used)
- X int color (enumeration type)
- X! int depth (no units)
- X float angle (radians, the angle of the text)
- X int font_flags (bit vector)
- X int height (pixels)
- X--- 258,267 ----
- X 1 : Center justified
- X 2 : Right justified)
- X int font (enumeration type)
- X! int font_size (font size in points)
- X int pen (not used)
- X int color (enumeration type)
- X! int depth (enumeration type)
- X float angle (radians, the angle of the text)
- X int font_flags (bit vector)
- X int height (pixels)
- X***************
- X*** 273,279 ****
- X center. Otherwise it is the lower
- X right corner of the string.)
- X char string[] (ascii characters; starts after a blank
- X! character following the last number and
- X! ends before the character '\1'. This
- X! character is not part of the string.
- X! Note that the string may contain '\n'.)
- X--- 273,338 ----
- X center. Otherwise it is the lower
- X right corner of the string.)
- X char string[] (ascii characters; starts after a blank
- X! character following the last number and
- X! ends before the character '\1' (control-A).
- X! This character is not part of the string.
- X! Note that the string may contain '\n'.)
- X!
- X! The font_flags field is defined as follows:
- X!
- X! Bit Description
- X!
- X! 0 Rigid text (text doesn't scale when scaling compound objects)
- X! 1 Special text (for LaTeX)
- X! 2 PostScript font (otherwise LaTeX font is used)
- X! 3 Hidden text
- X!
- X! The font field is defined as follows:
- X!
- X! For font_flags bit 3 = 0 (LaTeX fonts):
- X!
- X! -1 Default font
- X! 0 Roman
- X! 1 Bold
- X! 2 Italic
- X! 3 Modern
- X! 4 Typewriter
- X!
- X! For font_flags bit 3 = 1 (PostScript fonts):
- X!
- X! -1 Default font
- X! 0 Times Roman
- X! 1 Times Italic
- X! 2 Times Bold
- X! 3 Times Bold Italic
- X! 4 AvantGarde Book
- X! 5 AvantGarde Book Oblique
- X! 6 AvantGarde Demi
- X! 7 AvantGarde Demi Oblique
- X! 8 Bookman Light
- X! 9 Bookman Light Italic
- X! 10 Bookman Demi
- X! 11 Bookman Demi Italic
- X! 12 Courier
- X! 13 Courier Oblique
- X! 14 Courier Bold
- X! 15 Courier Bold Oblique
- X! 16 Helvetica
- X! 17 Helvetica Oblique
- X! 18 Helvetica Bold
- X! 19 Helvetica Bold Oblique
- X! 20 Helvetica Narrow
- X! 21 Helvetica Narrow Oblique
- X! 22 Helvetica Narrow Bold
- X! 23 Helvetica Narrow Bold Oblique
- X! 24 New Century Schoolbook Roman
- X! 25 New Century Schoolbook Italic
- X! 26 New Century Schoolbook Bold
- X! 27 New Century Schoolbook Bold Italic
- X! 28 Palatino Roman
- X! 29 Palatino Italic
- X! 30 Palatino Bold
- X! 31 Palatino Bold Italic
- X! 32 Symbol
- X! 33 Zapf Chancery Medium Italic
- X! 34 Zapf Dingbats
- Xdiff -rc xfig.2.1.7a/Doc/TODO xfig.2.1.8/Doc/TODO
- X*** xfig.2.1.7a/Doc/TODO Tue Mar 30 11:59:50 1993
- X--- xfig.2.1.8/Doc/TODO Fri Aug 27 13:09:57 1993
- X***************
- X*** 1,5 ****
- X--- 1,6 ----
- X This file contains some possible things to do in future versions of xfig.
- X
- X+ make xfig understand and use different file resolutions (e.g. 1200dpi)
- X allow rotated boxes (not just polygons)
- X reduce number of grid lines (if necessary) when zooming < 1.0
- X fix grid rounding problems at 0.75 zoom factor
- X***************
- X*** 127,132 ****
- X--- 128,134 ----
- X allow fractional text sizes (float)
- X possibly make extension to Fig protocol to handle several line
- X cap/join styles (e.g. round, butt, miter)
- X+ write 8-bit characters as (e.g.) \341\321
- X
- X --------------------------------------------------------------------
- X What really needs to be done is a major rework of the list structures used
- Xdiff -rc xfig.2.1.7a/Doc/xfig.man xfig.2.1.8/Doc/xfig.man
- X*** xfig.2.1.7a/Doc/xfig.man Fri Apr 30 10:33:22 1993
- X--- xfig.2.1.8/Doc/xfig.man Tue Aug 31 11:33:57 1993
- X***************
- X*** 1,49 ****
- X! '\" t
- X! .\" the previous line makes man call tbl
- X .if t .po .9i
- X! .TH XFIG 1 "Release 2.1(.7) (Protocol 2.1)"
- X .SH NAME
- X! xfig \- Facility for Interactive Generation of figures under X11
- X .SH SYNOPSIS
- X .B xfig
- X! [\fIoptions\fP]
- X! [\fIfile\fP]
- X .SH DESCRIPTION
- X .I Xfig
- X! is a menu-driven tool that allows the user to draw and manipulate objects
- X! interactively in an X window.
- X .B It runs under X version 11
- X .B release 4 or higher
- X and requires a two- or three-button mouse.
- X .I file
- X! specifies the name of a file to be edited. The description of objects in
- X! the file will be read at the start of \fIxfig\fP.
- X .PP
- X! When using a two-button mouse
- X! use the <Meta> key and the right button at the same time to effect
- X the action of the middle button.
- X .PP
- X! The \fITransFig\fP package is used to print or export the output from \fIxfig\fP.
- X .PP
- X! Note for previous \fIxfig\fP users:
- X .PP
- X! The \fIf2p\fP and \fIf2ps\fP translators have been phased out
- X! because the \fITransFig\fP package from Micah Beck is a more general
- X purpose translator for more graphics languages.
- X! The \fITransFig\fP package can be used as a back-end processor to \fIxfig\fP
- X to produce various types of output:
- X! .IP "LaTeX - "12
- X! \fIfig2dev -L latex\fP translates \fIxfig\fP to \fILaTeX\fP
- X! picture environment commands which can be
- X! processed along with other
- X .I LaTeX
- X commands.
- X! .IP "Postscript -
- X! \fIfig2dev -L ps\fP produces a \fIPostScript\fP output.
- X! .IP "Pic -
- X! \fIfig2dev -L pic\fP produces a pic output.
- X! .IP "PiCTeX -
- X! \fIfig2dev -L pictex\fP produces
- X .I PiCTeX
- X output.
- X This contains macros that can be used with the
- X--- 1,156 ----
- X! .\"-------
- X! .\" Man page portability notes
- X! .\"
- X! .\" These are some notes on conventions to maintain for greatest
- X! .\" portability of this man page to various other versions of
- X! .\" nroff.
- X! .\"
- X! .\" When you want a \ to appear in the output, use \e in the man page.
- X! .\"
- X! .\" Evidently not all versions of nroff allow the omission of the
- X! .\" terminal " on a macro argument. Thus what could be written
- X! .\"
- X! .\" .B "bold stuff
- X! .\"
- X! .\" in true nroffs must be written
- X! .\"
- X! .\" .B "bold stuff"
- X! .\"
- X! .\" instead.
- X! .\"
- X! .\" Use symbolic font names (e.g. R, I, B) instead of the standard
- X! .\" font positions 1, 2, 3. Ideally, do not use \f at all to change
- X! .\" fonts (there are none in this man page at this writing). Use the
- X! .\" -man macros instead, that's what they are there for and they are
- X! .\" more readable to boot.
- X! .\"
- X! .\" Note that sentences should end at the end of a line. nroff and
- X! .\" troff will supply the correct intersentence spacing, but only if
- X! .\" the sentences end at the end of a line. Explicit spaces, if given,
- X! .\" are apparently honored and the normal intersentence spacing is
- X! .\" supressed.
- X! .\"
- X! .\" DaviD W. Sanderson
- X! .\"-------
- X! .\"-------
- X! .\" xfig.1 conventions:
- X! .\"
- X! .\" bold: file names
- X! .\" command-line switches
- X! .\"
- X! .\" italic: variables (including environment variables)
- X! .\" program names
- X! .\" machine names
- X! .\"
- X! .\"-------
- X .if t .po .9i
- X! .nh
- X! .\"-------
- X! .\" Dd distance to space vertically before a "display"
- X! .\" These are what n/troff use for interparagraph distance
- X! .\"-------
- X! .if t .nr Dd .4v
- X! .if n .nr Dd 1v
- X! .\"-------
- X! .\" Sp space down by the interparagraph distance
- X! .\"-------
- X! .de Sp
- X! .sp \\n(Ddu
- X! ..
- X! .\"-------
- X! .\" At - argument tag
- X! .\" Begin an argument tag for an argument description paragraph.
- X! .\"-------
- X! .de At
- X! .PP
- X! ..
- X! .\"-------
- X! .\" Ap - argument description paragraph
- X! .\" It's an indented paragraph starting immediately after the
- X! .\" preceeding text (with no intervening blank line).
- X! .\" The reason for having this is so that we can construct the
- X! .\" ``tag'' for the paragraph (which describes a command argument)
- X! .\" using more than one line of -man macros. The regular .TP
- X! .\" macro only allows the tag to occupy one line in the source file,
- X! .\" which can often force explicit font changes using troff mechanisms
- X! .\" which make the source harder to read.
- X! .\"-------
- X! .de Ap
- X! .PD 0
- X! .IP
- X! .PD
- X! ..
- X! .\"-------
- X! .TH XFIG 1 "Release 2.1(.8) (Protocol 2.1)"
- X .SH NAME
- X! xfig \(em Facility for Interactive Generation of figures under X11
- X .SH SYNOPSIS
- X .B xfig
- X! .RI [ options ]
- X! .RI [ file ]
- X .SH DESCRIPTION
- X .I Xfig
- X! is a menu-driven tool that allows the user to draw and manipulate
- X! objects interactively in an X window.
- X .B It runs under X version 11
- X .B release 4 or higher
- X and requires a two- or three-button mouse.
- X .I file
- X! specifies the name of a file to be edited.
- X! The description of objects in the file will be read at the start of
- X! .IR xfig .
- X .PP
- X! When using a two-button mouse use the
- X! .I <Meta>
- X! key and the right button at the same time to effect
- X the action of the middle button.
- X .PP
- X! The
- X! .I TransFig
- X! package is used to print or export the output from
- X! .IR xfig .
- X .PP
- X! Note for previous
- X! .I xfig
- X! users:
- X .PP
- X! The
- X! .I f2p
- X! and
- X! .I f2ps
- X! translators have been phased out
- X! because the
- X! .I TransFig
- X! package from Micah Beck is a more general
- X purpose translator for more graphics languages.
- X! The
- X! .I TransFig
- X! package can be used as a back-end processor to
- X! .I xfig
- X to produce various types of output:
- X! .nr n \w'PostScript\0\0\0\0'+1n-1/1n
- X! .IP LaTeX \nn
- X! .I "fig2dev \-L latex"
- X! translates
- X! .I xfig
- X! to
- X .I LaTeX
- X+ picture environment commands which can be processed along with other
- X+ .I LaTeX
- X commands.
- X! .IP PostScript
- X! .I "fig2dev \-L ps"
- X! produces a
- X! .I PostScript
- X! output.
- X! .IP Pic
- X! .I "fig2dev \-L pic"
- X! produces a
- X! .I pic
- X! output.
- X! .IP PiCTeX
- X! .I "fig2dev \-L pictex"
- X! produces
- X .I PiCTeX
- X output.
- X This contains macros that can be used with the
- X***************
- X*** 52,268 ****
- X .I TeX
- X or
- X .I LaTeX.
- X! .IP "Others -
- X! \fIfig2dev\fP has options for these other languages:
- X! \fIbox\fP,
- X! \fIepic\fP,
- X! \fIeepic\fP,
- X! and \fIeepicemu\fP.
- X .PP
- X! The \fITransFig\fP package is available via anonymous ftp from
- X! export.lcs.mit.edu in /contrib/R5fixes/transfig-fixes/transfig.2.1.X.tar.Z,
- X! where the X is the current patchlevel.
- X .LP
- X! Note: \fITransFig\fP versions 2.1.4 and later support color
- X! output for \fIPostScript\fP.
- X .SH OPTIONS
- X! .TP
- X! .B \-L[andscape]
- X! Make \fIxfig\fP come up in landscape mode (10" x 8"). This is the default.
- X! .TP
- X! .B \-P[ortrait]
- X! Make \fIxfig\fP come up in portrait mode (8" x 9").
- X! .TP
- X! .B \-bg \fIcolor\fP
- X! Use \fIcolor\fP as the background color for the canvas and buttons.
- X! .TP
- X! \fB-bol[d]\fP \fIfont\fP
- X! Cause the font used for displaying confirmation messages to be \fIfont\fP
- X (default = 8x13bold).
- X! .TP
- X! \fB-bu[tton]\fP \fIfont\fP
- X! Cause the font used for most buttons to be \fIfont\fP (default = 6x13).
- X! .TP
- X! .B \-de[bug]
- X! Turn on debugging mode. Prints various debugging messages like font names etc.
- X! .TP
- X! .B \-e[xportLanguage] \fIlanguage\fP
- X Specifies the language to be used for when exporting a fig file.
- X Choices are:
- X!
- X! .TS
- X! l l.
- X Name Language
- X! _
- X! box LaTeX box (figure boundary)
- X! latex LaTeX picture
- X! epic LaTeX picture + epic macros
- X! eepic LaTeX picture + eepic macros
- X eepicemu LaTeX picture + eepicemu macros
- X! pictex PiCTeX macros
- X! eps Encapuslated Postscript
- X! ps Postscript
- X! pstex Combined PS/LaTeX (PS part)
- X! pstex_t Combined PS/LaTeX (LaTeX part)
- X! textyl Textyl special commands
- X! tpic TPIC
- X! pic PIC
- X! xbm X11 Bitmap
- X! .TE
- X! .TP
- X! .B \-fg \fIcolor\fP
- X! Use \fIcolor\fP as the foreground color and default color for objects.
- X! .TP
- X! .B \-fl[ushleft]
- X Set the print option to print the figure flush left.
- X The default is to center the figure on the page.
- X! .TP
- X! \fB-geom[etry]\fP \fIWxH+X+Y\fP
- X Specifies the geometry for Fig application.
- X! .TP
- X! \fB-iconG[eometry]\fP \fI+X+Y\fP
- X Specifies the position for the icon.
- X! .TP
- X! .B \-inc[hes]
- X Make inches the unit of choice (default).
- X! .TP
- X! .B \-me[tric]
- X Make centimeters the unit of choice.
- X!
- X! After \fIxfig\fP is started you may change the units from metric to
- X imperial or vice versa from a popup menu available by pressing mouse
- X! button 3 in the \fIunits\fP box where the two rulers meet.
- X! .TP
- X! .B \-internalBW \fIwidth\fP
- X! Use lines of width \fIwidth\fP between all buttons and panels (default = 1).
- X! .TP
- X! .B \-inv[verse]
- X Use inverse video (white on black).
- X! .TP
- X! .B \-k[eyFile] \fIcompose-key-file\fP
- X! Use \fIcompose-key-file\fP instead of \fICompKeyDB\fP for compose (meta) key
- X! database. If there are no "/"s in the name, the file must reside in the \fIxfig\fP
- X! library directory, \fI$XFIGLIBDIR\fP, usually /usr/local/lib/X11/xfig.
- X! If there are any "/"s in the name it is taken as is (not relative
- X! to \fI$XFIGLIBDIR\fP).
- X! If there is a leading "~/" in the string then the ~ is expanded to the
- X! user's home directory.
- X! .TP
- X! .B \-lat[exfonts]
- X! Start \fIxfig\fP with \fILaTeX\fP font selection. Normally, the \fIPostScript\fP
- X! fonts are available as the default. This flag selects the \fILaTeX\fP
- X fonts to start.
- X! .TP
- X! .B \-le[ft]
- X Change the position of the side panel window to the left of the canvas window.
- X! .TP
- X! .B \-mo[nochrome]
- X Use black and white only.
- X! .TP
- X! \fB-nor[mal]\fP \fIfont\fP
- X! Cause the font used for the message panel and ruler numbers to be \fIfont\fP.
- X! This font is also used on the canvas when the selected font is not available
- X! in an X11 font (default = fixed).
- X! .TP
- X! .B \-not[rack]
- X Turn off cursor (mouse) tracking arrows.
- X! .TP
- X! \fB-ph[eight]\fP \fIunits\fP
- X! Make \fIxfig\fP come up \fIunits\fP high (where units are either cm or in).
- X! .TP
- X! \fB-pw[idth]\fP \fIunits\fP
- X! Make \fIxfig\fP come up \fIunits\fP wide (where units are either cm or in).
- X! .TP
- X! .B \-ri[ght]
- X Change the position of the side panel window to the right of the canvas window
- X (default: left).
- X! .TP
- X! .B \-sc[alablefonts]
- X! Allows use of the X11R5 scalable fonts.
- X! .TP
- X! .B \-nosc[alablefonts]
- X! Disables use of the X11R5 scalable fonts. You might want to use this for
- X! debugging.
- X! .TP
- X! .B \-sh[owallbuttons]\fP
- X! Show all the \fIxfig\fP indicator buttons instead of only those relevant
- X! to the current drawing mode. Normally, the buttons \fIline width\fP,
- X! \fIarea-fill\fP, \fIgrid mode\fP, \fItext size\fP, etc. are only visible when
- X they are relevant to the current drawing mode.
- X! The \fB-showallbuttons\fP option makes all
- X! of the indicator buttons visible at all times. This takes up more screen
- X! real estate, but allows the user to see all settable parameters.
- X! .TP
- X! .B \-sp[ecialtext]
- X! Start \fIxfig\fP with the \fIspecial text\fP mode for text objects.
- X! .TP
- X! \fB-startf[ontsize]\fP \fIpointsize\fP
- X Set the default font size for text objects (default = 12pt).
- X! .TP
- X! \fB-startl[atexFont]\fP \fIfont\fP
- X! Set the starting font name for \fILaTeX\fP fonts.
- X! .TP
- X! \fB-startp[sFont]\fP \fIfont\fP
- X! Set the starting font name for \fIPostscript\fP fonts.
- X! .TP
- X! .B \-te[xtoutline]
- X! Specifies that xfig will draw a red (on color machines) outline
- X! of the "actual" bounding box of text objects.
- X! This is mostly useful for determining what rotated text will look like
- X! since xfig doesn't rotate the text (other than 0, 90, 180, or
- X! 270 degrees) on the canvas.
- X! .TP
- X! .B \-tr[ack]
- X Turn on cursor (mouse) tracking arrows (default).
- X! .TP
- X! \fB-users[cale]\fP \fIscale\fP
- X! Set the multiplier for displayed line lengths etc. This factor is multiplied
- X! by the actual length, radius or diameter of the object currently
- X! being drawn on the canvas. 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! .TP
- X! \fB-useru[nit]\fP \fIunits\fP
- X! The \fIunits\fP string is printed with the length information when drawing objects.
- X! For example if the \fIuserscale\fP = 1.0 and the \fIuserunit\fP = \fIft\fP
- 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!
- X! After \fIxfig\fP is started you may change the \fIuserscale\fP
- X! and the \fIuserunit\fP from a popup menu available by pressing mouse
- X! button 3 in the \fIunits\fP box where the two rulers meet.
- X!
- X!
- X .SH "GRAPHICAL OBJECTS"
- X! The objects in \fIxfig\fP are divided into \fBprimitive objects\fP and
- X! \fBcompound objects\fP. The primitive objects are: \fIARC\fP, \fICIRCLE\fP,
- X! \fICLOSED SPLINE\fP, \fIELLIPSE\fP, \fIPOLYLINE\fP, \fIPOLYGON\fP,
- X! \fIENCAPSULATED POSTSCRIPT\fP, \fIBOX\fP, \fIARC-BOX\fP, \fISPLINE\fP,
- X! and \fITEXT\fP.
- 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 TEXT primitive may not be flipped. It may be rotated but only the markers
- X! show the rotation (on-screen) for angles other than 0, 90, 180 and 270 degrees.
- X! Text IS rotated on \fIPostScript\fP output.
- 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. The primitive objects
- X! that constitute a compound can not be individually modified, but they can
- X! be manipulated as an entity; a compound can be moved, rotated, flipped
- X! vertically or horizontally, scaled, copied or erased. A compound that
- X! contains any boxes or arc-boxes may only be rotated by 90 degrees.
- X .PP
- X! Objects may overlap other objects according to their "depth". Objects with
- X! larger depth number are obscured by objects with smaller depth.
- X .PP
- X! \fIRegular\fP polygons may be created using a special drawing mode, but a
- X! general \fIPOLYGON\fP 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 \fIxfig\fP: the
- X! 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--- 159,611 ----
- X .I TeX
- X or
- X .I LaTeX.
- X! .IP Others
- X! .I fig2dev
- X! has options for these other languages:
- X! .IR box ,
- X! .IR epic ,
- X! .IR eepic ,
- X! and
- X! .IR eepicemu .
- X .PP
- X! The
- X! .I TransFig
- X! package is available via anonymous ftp from
- X! .I export.lcs.mit.edu
- X! in
- X! .BI /contrib/R5fixes/transfig\-fixes/transfig.2.1. X\c
- X! .BR .tar.Z ,
- X! where the
- X! .I X
- X! is the current patchlevel.
- X .LP
- X! Note:
- X! .I TransFig
- X! versions 2.1.4 and later support color output for
- X! .IR PostScript .
- X .SH OPTIONS
- X! .\"-------
- X! .At
- X! .BR \-L [ andscape ]
- X! .Ap
- X! Make
- X! .I xfig
- X! come up in landscape mode (10" x 8").
- X! This is the default.
- X! .\"-------
- X! .At
- X! .BR \-P [ ortrait ]
- X! .Ap
- X! Make
- X! .I xfig
- X! come up in portrait mode (8" x 9").
- X! .\"-------
- X! .At
- X! .BI \-bg " color"
- X! .Ap
- X! Use
- X! .I color
- X! as the background color for the canvas and buttons.
- X! .\"-------
- X! .At
- X! .BR \-bol [ d ]
- X! .I font
- X! .Ap
- X! Cause the font used for displaying confirmation messages to be
- X! .I font
- X (default = 8x13bold).
- X! .\"-------
- X! .At
- X! .BR \-butt [ on ]
- X! .I font
- X! .Ap
- X! Cause the font used for most buttons to be
- X! .I font
- X! (default = 6x13).
- X! .\"-------
- X! .At
- X! .BR \-but_ [ per_row ]
- X! .I number
- X! .Ap
- X! Specify the number of buttons wide the mode panel should be.
- X! This is useful in conjunction with the
- X! .B \-pheight
- X! parameter to reduce the canvas height for small screens.
- X! .\"-------
- X! .At
- X! .BR \-de [ bug ]
- X! .Ap
- X! Turn on debugging mode.
- X! Prints various debugging messages like font names etc.
- X! .\"-------
- X! .At
- X! .BR \-e [ xportLanguage ]
- X! .I language
- X! .Ap
- X Specifies the language to be used for when exporting a fig file.
- X Choices are:
- X! .Sp
- X! .\"--------------------------------------------------------------------
- X! .\" Table Begin
- X! .\"--------------------------------------------------------------------
- X! .ne 17
- X! .nf
- X! .nr t0 \w'eepicemu\0\0\0\0'u
- X! .ta \n(t0u
- X! .\" set n to length of longest line
- X! .di xx
- X! eepicemu LaTeX picture + eepicemu macros
- X! .nr n \n(.nu
- X! .di
- X! .rm xx
- X! .\" HEADER
- X Name Language
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .\" DATA
- X! box\&\&\& LaTeX box (figure boundary)
- X! latex\&\& LaTeX picture
- X! epic\&\& LaTeX picture + epic macros
- X! eepic\&\& LaTeX picture + eepic macros
- X eepicemu LaTeX picture + eepicemu macros
- X! pictex\& PiCTeX macros
- X! ibmgl\&\& IBMGL (or HPGL)
- X! eps\&\&\& Encapuslated PostScript
- X! ps\&\&\& PostScript
- X! pstex\&\& Combined PS/LaTeX (PS part)
- X! pstex_t\& Combined PS/LaTeX (LaTeX part)
- X! textyl\& Textyl special commands
- X! tpic\&\& TPIC
- X! pic\&\&\& PIC
- X! xbm\&\&\& X11 Bitmap
- X! .if n \l'\nnu\&-'
- X! .if t \l'\nnu'
- X! .DT
- X! .fi
- X! .\"--------------------------------------------------------------------
- X! .\" Table End
- X! .\"--------------------------------------------------------------------
- X! .\"-------
- X! .At
- X! .BI \-fg " color"
- X! .Ap
- X! Use
- X! .I color
- X! as the foreground color and default color for objects.
- X! .\"-------
- X! .At
- X! .BR \-fl [ ushleft ]
- X! .Ap
- X Set the print option to print the figure flush left.
- X The default is to center the figure on the page.
- X! .\"-------
- X! .At
- X! .BR \-geom [ etry ]
- X! .IR W x H\c
- X! .RI + X + Y
- X! .Ap
- X Specifies the geometry for Fig application.
- X! .\"-------
- X! .At
- X! .BR \-iconG [ eometry ]
- X! .RI + X + Y
- X! .Ap
- X Specifies the position for the icon.
- X! .\"-------
- X! .At
- X! .BR \-inc [ hes ]
- X! .Ap
- X Make inches the unit of choice (default).
- X! .\"-------
- X! .At
- X! .BR \-me [ tric ]
- X! .Ap
- X Make centimeters the unit of choice.
- X! .IP \&
- X! After
- X! .I xfig
- X! is started you may change the units from metric to
- X imperial or vice versa from a popup menu available by pressing mouse
- X! button 3 in the
- X! .I units
- X! box where the two rulers meet.
- X! .\"-------
- X! .At
- X! .BI \-internalBW " width"
- X! .Ap
- X! Use lines of width
- X! .I width
- X! between all buttons and panels (default = 1).
- X! .\"-------
- X! .At
- X! .BR \-inv [ erse ]
- X! .Ap
- X Use inverse video (white on black).
- X! .\"-------
- X! .At
- X! .BR \-k [ eyFile ]
- X! .I compose-key-file
- X! .Ap
- X! Use
- X! .I compose-key-file
- X! instead of
- X! .I CompKeyDB
- X! for compose (meta) key database.
- X! If there are no
- X! .RB `` / ''s
- X! in the name, the file must reside in the
- X! .I xfig
- X! library directory,
- X! .IR $XFIGLIBDIR ,
- X! usually
- X! .BR /usr/local/lib/X11/xfig .
- X! If there are any
- X! .RB `` / ''s
- X! in the name it is taken as is (not relative to
- X! .IR $XFIGLIBDIR ).
- X! If there is a leading
- X! .RB `` ~/ ''
- X! in the string then the
- X! .RB `` ~ ''
- X! is expanded to the user's home directory.
- X! .\"-------
- X! .At
- X! .BR \-lat [ exfonts ]
- X! .Ap
- X! Start
- X! .I xfig
- X! with
- X! .I LaTeX
- X! font selection.
- X! Normally, the
- X! .I PostScript
- X! fonts are available as the default.
- X! This flag selects the
- X! .I LaTeX
- X fonts to start.
- X! .\"-------
- X! .At
- X! .BR \-le [ ft ]
- X! .Ap
- X Change the position of the side panel window to the left of the canvas window.
- X! .\"-------
- X! .At
- X! .BR \-mo [ nochrome ]
- X! .Ap
- X Use black and white only.
- X! .\"-------
- X! .At
- X! .BR \-nor [ mal ]
- X! .I font
- X! .Ap
- X! Cause the font used for the message panel and ruler numbers to be
- X! .IR font .
- X! This font is also used on the canvas when the selected font is not
- X! available in an X11 font (default = fixed).
- X! .\"-------
- X! .At
- X! .BR \-not [ rack ]
- X! .Ap
- X Turn off cursor (mouse) tracking arrows.
- X! .\"-------
- X! .At
- X! .BR \-ph [ eight ]
- X! .I units
- X! .Ap
- X! Make
- X! .I xfig
- X! come up
- X! .I units
- X! high (where units are either cm or in).
- X! .\"-------
- X! .At
- X! .BR \-pw [ idth ]
- X! .I units
- X! .Ap
- X! Make
- X! .I xfig
- X! come up
- X! .I units
- X! wide (where units are either cm or in).
- X! .\"-------
- X! .At
- X! .BR \-ri [ ght ]
- X! .Ap
- X Change the position of the side panel window to the right of the canvas window
- X (default: left).
- X! .\"-------
- X! .At
- X! .BR \-sc [ alablefonts ]
- X! .Ap
- X! Allows use of the X11R5 or OpenWindows scalable fonts (this is the default).
- X! If the scalable fonts aren't available
- X! .I xfig
- X! will automatically switch to non-scaling fonts.
- X! .\"-------
- X! .At
- X! .BR \-nosc [ alablefonts ]
- X! .Ap
- X! Disables use of the X11R5 or OpenWindows scalable fonts.
- X! You might want to use this for debugging.
- X! .\"-------
- X! .At
- X! .BR \-sh [ owallbuttons ]
- X! .Ap
- X! Show all the
- X! .I xfig
- X! indicator buttons instead of only those relevant
- X! to the current drawing mode.
- X! Normally, the buttons
- X! .IR "line width" ,
- X! .IR area-fill ,
- X! .IR "grid mode" ,
- X! .IR "text size" ,
- X! etc. are only visible when
- X they are relevant to the current drawing mode.
- X! The
- X! .B \-showallbuttons
- X! option makes all
- END_OF_FILE
- if test 28939 -ne `wc -c <'xfig.12'`; then
- echo shar: \"'xfig.12'\" unpacked with wrong size!
- fi
- # end of 'xfig.12'
- fi
- echo shar: End of archive 12 \(of 16\).
- cp /dev/null ark12isdone
- 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+
-