Discussion Outline- Week 9
- General Questions
- Return the midterm - Answer any student questions on Midterm
- Graphics Library
- Must use SGIs to experiment with this library
- Stress importance of finding the width and height of the window
before trying to draw.
- If coordinates that are larger than the window are entered,
the window will resize and may fill the screen.
- Problem is that the next time the program is run the screen comes
back in this huge size. Problem can be eliminated by entering
the setenv DISPLAY command for the current workstation.
- Absolute and Relative coordinates
- MovePen uses absolute coordinates
- DrawLine uses relative coordinates
- Drawing Arcs and Circles