Material and questions from the 2D Graphics "Trail" for CS 5551 Exams version 0.9 Note: this has been rewritten recently - here is the new organization. Here is a hierarchical list of topics: Overview of the Java 2D API * Java 2D Rendering (good overview; overlaps Stroking/Filling Primitives) * Coordinate Systems (know how user space is set up) * Geometric Primitives (good overview of available graphics primitives) * Text (skip - done better in Working with Text and Fonts below) * Images (skip - done better in Manipulating/Displaying Images below) * Printing (skip - done better in full section on Printing below) Getting Started with Graphics A quick introduction to graphics - done better in Working with Geometry Working with Geometry Drawing Geometric Primitives (good overview of unfilled primitives) Drawing Arbitrary Shapes (intro to polygons and paths) Filling and Stroking (stroking: drawing unfilled primitives) Working with Text APIs Selecting a font Measuring Text (useful - just know that it can be done) Advanced Text Display (skip) Working with Images (the BufferedImage class) Reading/Loading an image (useful - just know that it can be done) Drawing an image (fairly straightforward) Creating and drawing To an image (useful) Writing/saving an image (skip) Printing A Basic Printing Program (shows the basics of printing) Using Print Setup Dialogs (shows how to call one) Printing a Multiple Page Document (skip) Working with Print Services and Attributes (skip) Printing the Contents of a User Interface (skip) Printing Support in Swing Components (for printing scrolled areas - skip) Advanced Topics Transforming Shapes, Text, and Images (know the basics) Clipping the Drawing Region (know the basics) Compositing Graphics (skip) Controlling Rendering Quality (skip) Constructing Complex Shapes from Geometry Primitives (know the idea of constructive area geometry) Supporting User Interaction (know how to do hit detection for a rectangular area - first example - of dragging; skip hit detection on text - the second example).