Graphics devices

Graphics devices are not usually used directly. In your program, you call the Draw function for a graphic to draw that graphic. The Draw function automatically draws into the correct drawing port, and the drawing port automatically renders into the correct graphics device. The creation of the drawing port and graphics device is handled for you by the View .

You need to know the details of the graphics device architecture to write a new TGrafDevice derived class if you have a new device that differs from existing devices, or to understand how graphics devices fit in with the other CommonPoint frameworks. This section presents a short overview of the graphics device architecture.

Graphics devices process the geometry and graphic state information. For example, TFrameBuffer draws this information as pixels. All devices must be able to draw all geometries.


[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