Graphics Ports allow you to write source-compatible applications which draw text, lines, shapes and images, for different host window systems. Graphics Ports are the destinations for the drawing primitives. They are implemented with a generic host-independent part and a small host-specific part.
All Graphics Ports symbols are interned in and exported from the
Graphics Ports implement a set of drawing functions and a mechanism for specifying the graphics state to be used in each drawing function call. There are four categories of graphics ports:
These correspond to visible windows. They are instances of
or a subclass, and are integral part of the CAPI panes system.
These are used for off-screen drawing. Once the drawing is completed they can be copied to another port (typically the screen, with
), or converted to an image.
These are used for drawing to a printer.
These are used for recording drawing operations so that the drawing can be realized later.
CAPI User Guide (Unix version) - 30 Aug 2011