
* * Robert Sedgewick * Kevin Wayne */ public final class Draw implements ActionListener, MouseListener, MouseMotionListener, KeyListener /** * Turns off xor mode. * * For additional documentation, see * Section 3.1 of * Computer Science: An Interdisciplinary Approach by Robert Sedgewick and Kevin Wayne. Ive been playing around with open GL for a while now and i got to the point that i can draw 3d shapes, My shapes and vertices and indices are definitely right and my shape was getting messed up. * This is the object-oriented version of standard draw it supports * multiple indepedent drawing windows. It uses a simple graphics model that * allows you to create drawings consisting of points, lines, and curves * in a window on your computer and to save the drawings to a file. This class provides a basic capability for * creating drawings with your programs. * * Todo * - * - Add support for gradient fill, etc. This class provides a basic capability for creating * drawings with your programs.

Below is the syntax highlighted version of Draw.java
