]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/paint
add tap(1) manpage
[plan9front.git] / sys / man / 1 / paint
1 .TH PAINT 1
2 .CT 1 graphics
3 .SH NAME
4 paint \- create image files by drawing with a mouse or other pointing device
5 .SH SYNOPSIS
6 .B paint [file]
7 .SH DESCRIPTION
8 .I Paint
9 provides a window upon which can be drawn lines by moving the cursor while
10 holding down mouse button 1 or its equivalent.
11 .PP
12 A number of keyboard commands are recognized:
13 .TP
14 .B b
15 Set the brush size to an ellipse with a horizontal semiaxis of
16 .I n
17 and a vertical semiaxis of
18 .I n
19 (see
20 .IR graphics (2)).
21 Type a number,
22 .I n,
23 in the pop-up box and hit enter.
24 .TP
25 .B c
26 Change the drawing color to
27 .I n,
28 where
29 0 = black, 1 = white, 2 = red, 3 = green, 4 = blue and 5 = yellow.
30 .TP
31 .B f
32 Fill the screen with a color,
33 .I n.
34 Any unsaved work will be lost.
35 .TP
36 .B o
37 Open a bitmap image file for editing. Type a path and filename into the
38 pop-up box and hit enter. If the path is omitted, the filename will be opened
39 from the current directory.
40 .TP
41 .B s
42 Save the current screen as a bitmap image. If the path is omitted, the filename will be
43 saved in the current directory.
44 .TP
45 .B q
46 Quit.
47 .SH SOURCE
48 .B /sys/src/cmd/paint.c
49 .SH "SEE ALSO"
50 .IR graphics (2),
51 .IR image (6)
52 .SH BUGS
53 .I Paint
54 offers a bare minimum of drawing functionality. Popular features such as
55 .B undo
56 have not yet been implemented.