dxpaint(1X)dxpaint(1X)NAMEdxpaint - DECwindows bitmap editor
SYNOPSISdxpaint [ flags ]
Specifies the color of the window's border (color displays only). The
default is the window border color specified by the Session Manager.
Specifies the color of the window's background (color displays only).
The default is the window background color specified by the Session
Manager. Specifies the display screen on which dxpaint displays its
window. If the display option is not specified, dxpaint uses the dis‐
play screen specified by your DISPLAY environment variable. The dis‐
play option has the format hostname:number. Using two colons (::)
instead of one (:) indicates that DECnet is to be used for transport.
The default is :0. For more information, see X(1X). This option is
the same as the -d option. Specifies the color of the window's fore‐
ground (color displays only). The default is the window foreground
color specified by the Session Manager. Specifies the font used as the
output font in digital mode. Any fixed-width font can be used. The
default is 6x10.
The dxpaint application allows you to create and edit bitmap images
(for example, simple sketches or pictures). These images are treated
as a collection of pixels. By using different drawing tools, you can
edit pixels to create lines, shapes, and text. The resulting bitmap
image can then be saved as a file, printed, or copied to another appli‐
For the bitmap image, the standard file format is Digital Document
Interchange Format (DDIF). Therefore, you can also project these
images on your display with the DDIF Viewer.
The dxpaint window offers a variety of art tools and basic shapes. For
example, you can work with a pencil, a paintbrush, a can of spray
paint, or a paint bucket. The current tool is highlighted. To make a
tool current, click on it. Only one tool on the tool palette can be
active at a time and that tool remains active until you make another
The dxpaint application contains the following menus:
File Edit Text Options
The File menu contains the following items: Displays a dialog box in
which you specify the file to open. The dialog box displays the names
of the graphics files in the current directory. To specify a graphics
file not listed, type the file name. Displays a dialog box in which
you specify the file to include in the current picture. The dialog box
displays the names of the graphics files in the current directory.
Saves the picture in the current file. If no file exists, dxpaint dis‐
plays a dialog box that prompts for the file name. Saves the picture
in a file whose name you specify. Prints the picture using the values
previously set in the Print dialog box. If this is the first print
request, the Print dialog box is displayed. Displays the Print dialog
box (which allows you to specify a printer, output format, and so
forth) and prints the picture using these settings. The output format
can be ANSI2 (sixel) or PostScript. If you are using an LA50 printer,
you must specify an aspect ratio of 2:1. Quits the current dxpaint
session and closes the dxpaint window. If no changes were saved,
dxpaint displays a Caution dialog box.
The Edit menu contains the following menu items: Undoes or redoes the
last paint operation. Clears the selection from the drawing window and
copies it to the clipboard. Copies the image selected from the drawing
window onto the clipboard. Copies the image selected with the Selec‐
tion Box tool to the center of the canvas. Pastes an image from the
clipboard into the drawing window. Erases any area previously selected
with the selection box or scissors tool. Creates a negative image of
the selection by displaying it in reverse video. Repositions the
selection in the upper left corner of the window and discards the rest
of the painting. Displays a dialog box that lets you scale a selec‐
tion. Enter a number less than 100 to shrink the selection or a number
greater than 100 to expand the selection. Erases the entire contents
of the drawing window. Selects the entire contents of the drawing win‐
dow. Displays a dialog box that lets you scale the entire picture.
Enter a number less than 100 to shrink the picture or a number greater
than 100 to expand the picture.
The Options menu contains the following menu items: Displays a dialog
box that lets you choose the size of the drawing window and lets you
choose the resolution for the picture. Displays a dialog box that lets
you choose the size and shape of the paintbrush. Displays a dialog box
that lets you choose the line thickness for the shape to be drawn with
the selected tool. This selection affects lines, arcs, ellipses, cir‐
cles, rectangles, squares, strokes, and polygons. Displays a dialog
box that provides a selection of designs that you can use as border and
fill patterns. The foreground, background, and "none" patterns are
always available. Click on Outline Pattern to signal a change in the
border pattern; click on Fill Pattern to signal a change in the fill
pattern. Next, click on any of the patterns (including foreground,
background, and "none") to select it as the border or fill pattern.
Displays a dialog box that lets you modify an existing pattern. Before
choosing this menu item, you must indicate whether you are customizing
a border or a fill pattern by clicking on the appropriate button in the
Patterns dialog box. Next, choose the pattern to edit. The dialog
box contains a magnified version of the pattern you chose (16 pixels by
16 pixels). Displays a dialog box that lets you choose color for draw‐
ing by clicking on color displayed in the dialog box. Displays a dia‐
log box that lets you create your own color. The Color Model menu
allows you to choose the color model to create your own color. Click‐
ing on the "Add" button will add color to your platte dialog box. Dis‐
plays a dialog box that lets you choose a grid size. Prevents back‐
ground shapes from showing through the clear areas of patterned objects
in the foreground. Opaque is the default. Allows background shapes to
show through the clear areas of patterned objects in the foreground.
Allows you to view only a portion of the picture in the drawing window.
Allows you to view the full picture in the drawing window without
changing the size of the drawing window. Turns a fixed snap grid on or
off. This option is used in alignment. Magnifies a portion of the
picture. Displays a magnifying frame and a Zoom window. Drag the
frame to the portion of the picture to be magnified and release MB1.
The framed image appears in the Zoom window and is magnified eight
times. To close the Zoom window, display the Options menu and choose
The Text menu contains the following items: Allows you to choose from
Courier, Times, and Helvetica fonts. Specifies the point size. Choose
from 10, 12, 14, 18, and 24 points. Specifies normal, italic, or bold
The dxpaint application uses the values in the .Xdefaults file when you
logged in and uses the appropriate resource specification to customize
the appearance or characteristics of its displayed dxpaint window. The
format for a resource specification in the .Xdefaults file is:
[name*]resource: value Specifies the application name or the name
string that restricts the resource assignment to that application or to
a component of an application. If this argument is not specified, the
resource assignment is globally available to all X applications. Spec‐
ifies the resource. Specifies the value that is to be assigned to the
For more information, see X(1X).
Because each toolkit-based application can consist of a combination of
widgets (for example, push buttons and a scroll bar), you can form the
name string by adding widget class and name identifiers to the string.
For further information about adding class and name identifiers, see
For dxpaint, the available class identifiers are:
paint main_menu_bar paint_v_scroll_bar paint_h_scroll_bar
For dxpaint*O, the available name identifier is:
The general resources available for dxpaint can be found in X(1X).
Each specification included in the .Xdefaults file for the translations
resource modifies a key setting for the editor that dxpaint uses. For
more information about key and mouse specifications in the
FILESRELATED INFORMATIONX(1X), mwm(1X)dxpaint(1X)