Introduction
Recipe 4.1. Drawing a Line
Recipe 4.2. Drawing a Curve
Recipe 4.3. Drawing a Rectangle
Recipe 4.4. Drawing a Rounded Rectangle
Recipe 4.5. Drawing a Circle
Recipe 4.6. Drawing an Ellipse
Recipe 4.7. Drawing a Triangle
Recipe 4.8. Drawing Regular Polygons
Recipe 4.9. Filling a Shape with a Solid or Translucent Color
Recipe 4.10. Filling a Shape with a Gradient
Recipe 4.11. Filling a Shape with a Complex Gradient
Recipe 4.12. Scripting Masks