LispWorks CAPI User Guide > 12 Graphics Ports

NextPrevUpTopContentsIndex

12.2 Features

The main features of graphics-ports are:

  1. Each port has a "graphics state" which holds all the information about drawing parameters such as line thickness, fill pattern, line-end-style and so on. A graphics state object can also be created independently of any particular graphics port.
  2. The graphics state contents can either be enumerated in each drawing function call, bound to values for the entirety of a set of calls, or permanently changed.
  3. The graphics state includes a transform which implements generalized coordinate transformations on the port's coordinates.
  4. Off-screen ports can compute the horizontal and vertical bounds of the results of a set of drawing function calls, thus facilitating image or pixmap generation.

LispWorks CAPI User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex