About this Course
This course is intended for serious computer hobbyists, IT students, and IT professionals. You need Windows and Visual C++ installed.
The free online textbook for this course is Visual C++ 6 Unleashed . Read the Introduction to the book.
Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to the assigments.
Lesson 6. Working with Device Contexts and GDI Objects
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 dimensions supported by the device. The device context can use this dimensional information to allow an application to render images in physical coordinate systems, such as inches and millimeters.
Read the following sections from your free online textbook:
|Web design and curriculum: David L. Heiserman||
Copyright © 2005 SweetHaven Publishing Services