This program has been updated by Dan Heller <island!argv@sun.com>
to make it work with X11R2 and in the manner probably desired by
the original author.  Reader's note: "paint" is a misnomer because
this package maintains a display list of objects.  Paint packages
are not object based, but pixel based.  This is really a simplified
draw package intended to show examples of how some of the graphics
rendering machanisms work.  What follows is the original README file
modified to reflect my changes.
	--Dan Heller 5/31/88 <island!argv@sun.com>
--------

Read carefully; this is the only documentation there is!

The paint program takes no paramaters.  It makes a connection to
$DISPLAY.

Paint is very modal.  There are keyboard commands to change the modes. 
Type the commands at the window on the X11 display.  The current mode
is displayed on the top of the window.

Some of the keyboard commands take an integer argument.  To specify an
argument, type a number (with an optional minus sign) before the key
for the command.  Thus, to set line thickness to 72, type "72t".

a	Draw an arc.  When the user drags through a rectangle with the
mouse, an arc will be inscribed in that rectangle (from angle1 to angle2).
Default set to 360 degrees and 0 degrees (a complete ellipse).

A	Draw a filled arc.  Same as above, but arc will be filled.

C	Clear the window (also clears display list).

f	Change the alu function.  This takes an argument from 0 to 15.

l	Draw lines.  When the user drags through the window, a line
will be drawn from where he presses the button to where he releases it.

p	Draw open polygon (freehand draw).  Release button to complete polygon.

P	Draw filled polygons.  Same as above, but the polygon will be
filled.  (The first and last points are connected by the server.)

r	Draw a rectangle.  Drag through a rectangle, and the outline of
that rectangle will be drawn.

R	Draw a filled rectangle.  Same as above, but the rectangle is filled.

t	Change the thickness (a.k.a. "line width").  The line width is
set to the argument.

< or ,	Set the value of angle1 to the argument.  The units are in degrees.

> or .	Set the value of angle2 to the argument.  The units are in degrees.

q	quit program.

Paint will also refresh itself on expose windows.  This action redraws each
object in the display list -- so it is very slow (esp on a sun).

    The Polygon routines leave screen dust (stray pixels) because of Xor-ing.
This is due to the method used to "rubberband" freehand curves.
