Chapter 6. Working with Device Contexts and GDI Objects

by Jonathan Bates and Mickey Williams

In This Chapter

The device context, or DC, is the interface between an application that draws graphics and text on a two-dimensional surface and the device drivers and hardware that render those graphics.

Applications can draw with the same graphics device interface (GDI) functions, regardless of the actual hardware used, to achieve a consistent image to the best capabilities of the device.

The device context also can be interrogated to inform an application of the capabilities and ...

Get Visual C++® 6 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.