Blame


1 a309537f 2018-11-16 rsc .TH PAINT 1
2 a309537f 2018-11-16 rsc .CT 1 graphics
3 a309537f 2018-11-16 rsc .SH NAME
4 a309537f 2018-11-16 rsc paint \- create image files by drawing with a mouse or other pointing device
5 a309537f 2018-11-16 rsc .SH SYNOPSIS
6 a309537f 2018-11-16 rsc .B paint
7 a309537f 2018-11-16 rsc [
8 a309537f 2018-11-16 rsc .I file
9 a309537f 2018-11-16 rsc ]
10 a309537f 2018-11-16 rsc .SH DESCRIPTION
11 a309537f 2018-11-16 rsc .I Paint
12 a309537f 2018-11-16 rsc displays a canvas upon which can be drawn lines using the mouse holding
13 a309537f 2018-11-16 rsc down buttons 1 or 2 for foreground or background color. The canvas
14 a309537f 2018-11-16 rsc may be moved with button 3. Colors and brush sizes may be selected by
15 a309537f 2018-11-16 rsc clicking on the palette at the bottom of the screen with buttons 1 or 2.
16 a309537f 2018-11-16 rsc .PP
17 a309537f 2018-11-16 rsc If the optional
18 a309537f 2018-11-16 rsc .I file
19 a309537f 2018-11-16 rsc argument is specified, then it is read and used as the canvas.
20 a309537f 2018-11-16 rsc .I Paint
21 a309537f 2018-11-16 rsc only recognizes Plan 9 bitmap format (see
22 d32deab1 2020-08-16 rsc .MR image (6) ).
23 a309537f 2018-11-16 rsc .PP
24 a309537f 2018-11-16 rsc A number of immediate keyboard commands are recognized:
25 a309537f 2018-11-16 rsc .TP
26 a309537f 2018-11-16 rsc .B u
27 a309537f 2018-11-16 rsc Undos the previous action.
28 a309537f 2018-11-16 rsc .TP
29 a309537f 2018-11-16 rsc .B c
30 a309537f 2018-11-16 rsc Clears the canvas with the background color.
31 a309537f 2018-11-16 rsc .TP
32 a309537f 2018-11-16 rsc .B 1-9
33 a309537f 2018-11-16 rsc Select brush size.
34 a309537f 2018-11-16 rsc .TP
35 a309537f 2018-11-16 rsc .B f
36 a309537f 2018-11-16 rsc Select flood fill brush.
37 a309537f 2018-11-16 rsc .TP
38 a309537f 2018-11-16 rsc .B +
39 a309537f 2018-11-16 rsc Doubles magnification.
40 a309537f 2018-11-16 rsc .TP
41 a309537f 2018-11-16 rsc .B -
42 a309537f 2018-11-16 rsc Halves magnification.
43 a309537f 2018-11-16 rsc .TP
44 a309537f 2018-11-16 rsc .B esc
45 a309537f 2018-11-16 rsc Centers the canvas and resets magnification.
46 a309537f 2018-11-16 rsc .PP
47 a309537f 2018-11-16 rsc Hitting any other key on the keyboard shows a command prompt
48 a309537f 2018-11-16 rsc where the following commands may be entered:
49 a309537f 2018-11-16 rsc .TP
50 a309537f 2018-11-16 rsc .BI r file
51 a309537f 2018-11-16 rsc Reads the canvas from
52 a309537f 2018-11-16 rsc .I file.
53 a309537f 2018-11-16 rsc .TP
54 a309537f 2018-11-16 rsc .BI w file
55 a309537f 2018-11-16 rsc Writes the canvas to
56 a309537f 2018-11-16 rsc .I file.
57 a309537f 2018-11-16 rsc .TP
58 a309537f 2018-11-16 rsc .BI < command
59 a309537f 2018-11-16 rsc Executes
60 a309537f 2018-11-16 rsc .I command
61 a309537f 2018-11-16 rsc and reads the canvas from its standard output.
62 a309537f 2018-11-16 rsc .TP
63 a309537f 2018-11-16 rsc .BI > command
64 a309537f 2018-11-16 rsc Executes
65 a309537f 2018-11-16 rsc .I command
66 a309537f 2018-11-16 rsc and writes the canvas to its standard input.
67 a309537f 2018-11-16 rsc .TP
68 a309537f 2018-11-16 rsc .BI | command
69 a309537f 2018-11-16 rsc Transforms the canvas by piping it thru
70 a309537f 2018-11-16 rsc .I command.
71 a309537f 2018-11-16 rsc .TP
72 a309537f 2018-11-16 rsc .B q
73 a309537f 2018-11-16 rsc Quits the program.
74 a309537f 2018-11-16 rsc .SH SOURCE
75 a309537f 2018-11-16 rsc .B /sys/src/cmd/paint.c
76 a309537f 2018-11-16 rsc .SH "SEE ALSO"
77 d32deab1 2020-08-16 rsc .MR resample (1) ,
78 d32deab1 2020-08-16 rsc .MR rotate (1) ,
79 d32deab1 2020-08-16 rsc .MR crop (1) ,
80 d32deab1 2020-08-16 rsc .MR jpg (1) ,
81 d32deab1 2020-08-16 rsc .MR page (1) ,
82 d32deab1 2020-08-16 rsc .MR image (6)
83 a309537f 2018-11-16 rsc .SH HISTORY
84 a309537f 2018-11-16 rsc .I Paint
85 a309537f 2018-11-16 rsc first appeared in 9front (October, 2011).