plan9fox/sys/man/1/paint
2012-03-03 23:40:44 -06:00

57 lines
1.2 KiB
Plaintext

.TH PAINT 1
.CT 1 graphics
.SH NAME
paint \- create image files by drawing with a mouse or other pointing device
.SH SYNOPSIS
.B paint [file]
.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
.B b
Set the brush size to an ellipse with a horizontal semiaxis of
.I n
and a vertical semiaxis of
.I n
(see
.IR graphics (2)).
Type a number,
.I n,
in the pop-up box and hit enter.
.TP
.B c
Change the drawing color to
.I n,
where
0 = black, 1 = white, 2 = red, 3 = green, 4 = blue and 5 = yellow.
.TP
.B f
Fill the screen with a color,
.I n.
Any unsaved work will be lost.
.TP
.B o
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.
.TP
.B s
Save the current screen as a bitmap image. If the path is omitted, the filename will be
saved in the current directory.
.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
offers a bare minimum of drawing functionality. Popular features such as
.B undo
have not yet been implemented.