2011-11-20 18:58:05 -08:00
|
|
|
.TH PAINT 1
|
|
|
|
.CT 1 graphics
|
|
|
|
.SH NAME
|
|
|
|
paint \- create image files by drawing with a mouse or other pointing device
|
|
|
|
.SH SYNOPSIS
|
2012-02-27 18:15:37 -08:00
|
|
|
.B paint [file]
|
2011-11-20 18:58:05 -08:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.I Paint
|
|
|
|
provides a window upon which can be drawn lines by moving the cursor while
|
|
|
|
holding down mouse button 1 or its equivalent.
|
|
|
|
.PP
|
|
|
|
A number of keyboard commands are recognized:
|
|
|
|
.TP
|
2011-12-09 19:18:20 -08:00
|
|
|
.B b
|
2011-12-10 09:43:20 -08:00
|
|
|
Set the brush size to an ellipse with a horizontal semiaxis of
|
2011-12-09 19:18:20 -08:00
|
|
|
.I n
|
2011-12-10 09:43:20 -08:00
|
|
|
and a vertical semiaxis of
|
2011-12-09 19:18:20 -08:00
|
|
|
.I n
|
2011-12-10 09:43:20 -08:00
|
|
|
(see
|
|
|
|
.IR graphics (2)).
|
|
|
|
Type a number,
|
2011-12-09 19:18:20 -08:00
|
|
|
.I n,
|
|
|
|
in the pop-up box and hit enter.
|
|
|
|
.TP
|
2011-11-20 18:58:05 -08:00
|
|
|
.B c
|
2012-03-01 20:54:45 -08:00
|
|
|
Change the drawing color to
|
|
|
|
.I n,
|
|
|
|
where
|
|
|
|
0 = black, 1 = white, 2 = red, 3 = green, 4 = blue and 5 = yellow.
|
|
|
|
Type the corresponding number into the pop-up box and hit enter.
|
|
|
|
.TP
|
|
|
|
.B f
|
|
|
|
Fill the screen with the current color. Any unsaved work will be lost.
|
2011-11-20 18:58:05 -08:00
|
|
|
.TP
|
2012-02-27 18:15:37 -08:00
|
|
|
.B o
|
2012-02-29 11:10:47 -08:00
|
|
|
Open a bitmap image file for editing. Type a path and filename into the
|
|
|
|
pop-up box and hit enter. If the path is omitted, the filename will be opened
|
|
|
|
from the current directory.
|
2012-02-27 18:15:37 -08:00
|
|
|
.TP
|
2011-11-20 18:58:05 -08:00
|
|
|
.B s
|
2012-02-29 11:10:47 -08:00
|
|
|
Save the current screen as a bitmap image. Type a path and filename into
|
|
|
|
the pop-up box and hit enter. If the path is omitted, the filename will be
|
|
|
|
saved in the current directory.
|
2011-11-20 18:58:05 -08:00
|
|
|
.TP
|
|
|
|
.B q
|
|
|
|
Quit.
|
|
|
|
.SH SOURCE
|
|
|
|
.B /sys/src/cmd/paint.c
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.IR graphics (2),
|
|
|
|
.IR image (6)
|
|
|
|
.SH BUGS
|
|
|
|
.I Paint
|
2011-12-09 19:18:20 -08:00
|
|
|
offers a bare minimum of drawing functionality. Popular features such as
|
|
|
|
.B undo
|
|
|
|
have not yet been implemented.
|