Drawing operation

The drawing operation involves calls the Draw function and passes it a drawing port. The drawing port has a set of draw functions that correspond to the Render functions of the graphics device. This correspondence enables the graphics device to receive the drawing information from the drawing port, and keeps the drawing operation device independent.

Drawing ports and graphics devices are multi-tasking. This means that the same graphics device can be used by any number of drawing ports, and the same drawing port can be used by any number of graphics.

You execute a drawing operation by drawing the graphic or by drawing the geometry. Both of these methods are described in the two headings that follow. Either way, the geometries, graphic state, and graphics device are made known to the drawing port as follows:


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker