(The CDC (DeviceContext) class of Visual C is one of the most important classes in MFC. It encapsulates all functions required for drawing, and is indispensable for users to write graphics and text management programs. Of course, the corresponding equipment environment must also be specified when making graphics and text. The device environment is a data structure reserved by Windows, which includes the information required when using programs to output to devices.
Chapter 7 Graphics, Texts and Bitmaps. ppt)