CS21 Week4 In-Class Exercises
- Copy the interactive graphics program that I wrote, and play with
it until you understand how to use the graphics functions
MovePen, DrawLine, and DrawArc.
- Write your own graphics program to test a new graphics function
called DrawCrossedBox that takes the x and y coordinates of
the lower left-hand corner of the desired box along with its width and
height. It should draw the designated box and then draw diagonal
lines through the center.