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