This chapter describes the commands used to draw things on a display. the Graphics Environment chapter, explains how to set up the display necessary to use these commands.
You must have read the previous chapter; in particular, you should be familiar with GStates. To use certain commands, you should also be familiar with the GEOS fixed point number formats.
1 Drawing Goals
2 Shapes
2.1 Dots
2.2 Lines
2.3 Rectangles
2.4 Ellipses
2.5 Elliptical Arcs
2.6 Three-Point Arcs
2.7 Rounded Rectangles
2.8 Polylines and Polygons
2.9 Bézier Curves and Splines
2.10 Drawing Bitmaps
2.11 Paths
2.12 Regions
2.13 Text
3 Shape Attributes
3.1 Color
3.2 Patterns and Hatching
3.3 Mix Mode
3.4 Masks
3.5 Line-Specific Attributes