[ English Version | Japanese Version ]
In xfig, figures may be drawn using objects such as circles, boxes, lines, spline curves, text, etc. Those objects can be created, deleted, moved or modified. Attributes such as colors or line styles can be selected in various ways. For text, 35 fonts are available. It is also possible to embed images in formats such as JPEG, PDF, EPS, PNG, etc.
Here is a screen image of xfig. Click on the image below for larger version (349k).
And here are some example figures extracted from the xfig distribution. Click on them to see a larger version.
Xfig saves figures in its native Fig format, and it can export to various formats such as PDF, PNG, TIKZ, etc. For export xfig needs fig2dev, which can also be invoked from the command line. xfig has a facility to print figures to a PostScript printer, too.
There are some applications which can produce output in the Fig format. For example, xfig does not have a facility to create graphs, but tools such as gnuplot can create graphs and export them in Fig format. Even if your favorite application can not generate output for xfig, tools such as pstoedit or hp2xx may allow you to read and edit those figures with xfig. If you want to import images into the figure but you do not need to edit the image itself (like this example), it is also possible to embed images in formats such as JPEG, PNG, PDF, EPS (PostScript), etc.
Most operation are performed using the mouse, but some operations may also be performed using keyboard accelerators (shortcuts). Use of a three-button mouse is recommended, but it is also possible to use a two-button mouse (if you have a two-button mouse and your X server does not emulate a three-button mouse, press the Meta (or Alt) key and right mouse button together to simulate mouse button 2). Normally, mouse buttons 1 to 3 are assigned to the left, middle, and right buttons respectively.
Xfig 3.2.9 and fig2dev 3.2.9 support international text, and some output formats, e.g., SVG or TIKZ, can display any character or glyph that is available in Unicode. Other output formats, notably PostScript (EPS), PDF, and all bitmap outputs are restricted to mainly western language character sets (including cyrillic and greek). These latter output formats can be made to work for Japanese and Korean. See Internationalization about this.
xfig [ options... ] [ filename ]options are command line options which may be used to customize xfig. It is also possible to use X resources instead of specifying command line options each time when starting xfig.
If filename is given, the file will be loaded when xfig is started.