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
|
|
|
|
.B paint
|
|
|
|
.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
|
|
|
|
Clear the screen. Any unsaved work will be lost.
|
|
|
|
.TP
|
|
|
|
.B s
|
2011-12-09 19:18:20 -08:00
|
|
|
Save the current screen as a bitmap image. A pop-up box appears
|
2011-11-20 18:58:05 -08:00
|
|
|
suggesting a default filename of
|
|
|
|
.I out.bit.
|
|
|
|
Hit enter to accept the default, or backspace over the suggested name and
|
2011-12-09 19:18:20 -08:00
|
|
|
type an alternative path and filename. If the path is omitted, a file will be
|
2011-11-20 18:58:05 -08:00
|
|
|
created 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
|
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.
|