December 2000
Intermediate to advanced
1280 pages
28h 56m
English
Once you have a device context, the hardest thing to understand in Win32 GDI is drawing a single pixel. We don't mean simply to be able to draw a single pixel, but rather to completely understand all the factors that could affect the drawing of a single pixel. After that, lines, curves, filled areas, bitmaps, and text will follow without much trouble.
Chapter 6 covered coordinate systems, mapping modes, and transformations; this chapter will cover GDI objects, handles, clipping, color, and finally pixel drawing.
The Win32 API uses dozens of different kinds of objects—file objects, synchronization objects, GDI objects—although the API is not based on any modern object-oriented language. In fact, ...