This section contains definitions of terms that will be used in this chapter.
A drawing plane is an infinite two-dimensional plane on which graphical output occurs. The drawing plane contains an arrangement of colors and opacities that is modified by each graphical output operation. It is not possible to read back the contents of a drawing plane, except by examining the output-history. Normally each window has its own drawing plane.
Coordinates are a pair of real numbers in implementation-defined units that identify a point in the drawing plane.
In this chapter, we use a medium as a destination for output. The medium has a drawing plane, two designs (called the medium's foreground and background), a transformation, a clipping region, a line style, and a text style. There are per-medium, dynamically scoped, default drawing options. Different medium classes are provided to allow you to draw on different sorts of devices, such as displays, printers, and virtual devices such as bitmaps.
Many sheets can be used for doing output, so the drawing functions can also take a sheet as the output argument. In this case, drawing function "trampolines" to the sheet's medium. So, while the functions defined here are specified to be called on mediums, they can also be called on sheets.
A stream is a special kind of sheet that implements the stream protocol; streams include additional state such as the current text cursor (which is some point in the drawing plane).