The functionality of XPaint is divided into a toolbox area for selecting the current paint operation and paint windows for modifying/creating images. Each paint window has access to its own color palette and set of patterns, although the paint operation in use is globally selected for all windows.
XPaint runs on a variety of displays. It should be noted that saving images will adapt them to the current display type (i.e. a color image loaded on a greyscale screen will be saved as a grey image).
There is also an extensive on-line help system available.
- -size wxh
- Default width and height for new images.
- -8
- Use an 8 bit PseudoColor visual.
- -12
- Use a 12 bit PseudoColor visual.
- -24
- Use a 24 bit TrueColor visual.
- -visual VISUAL
- Use VISUAL instead of the default visual. See also the section VISUAL FORMAT below for the list of possible visual types.
- -rcFile file
- Load file instead of the default RC file specified at compile time. See also the section RC FILE FORMAT below.
- -popped
- Popup an empty canvas on startup.
- -nowarn
- Do not emit warnings about possible data loss due to different depth of display and image.
- -help
- Give a summary of the available options.
- -visual TrueColor
- -visual GrayScale
- -visual PseudoColor
- -visual 47
Alternatively, -8, -12, and -24 are also acceptable for specifying pseudo8, pseudo12, and truecolor24 respectively.
Any time a new canvas is created, the .XPaintrc file is read again if it has changed.
The RC file can contain any of the following entries, in any order:
- #
- or
- !
- at the start of a line initiates a comment. The rest of the line is ignored.
- solid color
- where color is a color in standard X11 format (eg. GoldenRod1, #a2b5cd - see also X(1) ) adds a solid color to the palette.
- pattern BeginData bitmap EndData
- where bitmap is a bitmap specification in XBM or XPM format, adds a fill pattern to the palette.
Note that there must be a newline after BeginData, and that EndData must appear on a line by itself.
- pattern filename
- where filename is a file containing a bitmap in XBM or XPM format, also adds a pattern to the palette.
The squares in the palette have a default size of 24 by 24 pixels. This can be changed by setting the XPaint.patternsize resource to a number between 4 and 64.
Torsten Martinsen, torsten@danbbs.dk, is to blame for any (mis)features added in XPaint release 2.2 and following releases.
Many people, too numerous to mention, have contributed to the development of XPaint. See the file Doc/CHANGES in the source distribution for details.