A graphics context (GC) encapsulates a set of parameters to be used when drawing.
- • foreground color
- • background color
- • font (unused)
- • function
- • fill type
- • fill origin
- • tile pixmap
- • stipple pixmap (doesn't work on Win32)
- • clip mask
- • clip origin
- • subwindow mode
- • graphics exposures flag
- • line width
- • line style
- • cap style
- • join style
Without GCs, you'd have to specify these parameters every time you wanted to
draw something.