]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/paint
dece0ae8d50d6eb9613aac9ed78427f58860ab16
[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
7 [
8 .I file
9 ]
10 .SH DESCRIPTION
11 .I Paint
12 shows a canvas upon which can be drawn lines using the mouse holding
13 down buttons 1 or 2 for foreground or background color.  The canvas
14 can be moved with button 3.  Colors and brush sizes can be selected by
15 clicking on the palette at the bottom of the screen with buttons 1 or 2.
16 .PP
17 If the optional
18 .I file
19 argument is specified, then it is read and used as the canvas.
20 .I Paint
21 only recognizes Plan 9 bitmap format (see
22 .IR image (6)).
23 .PP
24 A number of immidiate keyboard commands are recognized:
25 .TP
26 .B u
27 Undos the previous action.
28 .TP
29 .B f
30 Fills the canvas with the background color.
31 .TP
32 .B 1-9
33 Select brush size.
34 .TP
35 .B +
36 Doubles magnification.
37 .TP
38 .B -
39 Halves magnification.
40 .TP
41 .B esc
42 Centers the canvas and resets magnification.
43 .PP
44 Hitting any other key on the keyboard shows a command prompt
45 where the following commands can be entered:
46 .TP
47 .BI r file
48 Reads the canvas from
49 .I file.
50 .TP
51 .BI w file
52 Writes the canvas to
53 .I file.
54 .TP
55 .BI < command
56 Executes
57 .I command
58 and read the canvas from its standard output.
59 .TP
60 .BI > command
61 Executes
62 .I command
63 and write the canvas to its standard input.
64 .TP
65 .BI | command
66 Transforms the canvas by running it thru
67 .I command.
68 .TP
69 .B q
70 Quits the program.
71 .SH SOURCE
72 .B /sys/src/cmd/paint.c
73 .SH "SEE ALSO"
74 .IR resize (1),
75 .IR resample (1),
76 .IR rotate (1),
77 .IR crop (1),
78 .IR jpg (1),
79 .IR page (1),
80 .IR image (6)