Skip to Main Content
Windows Graphics Programming Win32 GDI and DirectDraw®
book

Windows Graphics Programming Win32 GDI and DirectDraw®

by Feng Yuan
December 2000
Intermediate to advanced content levelIntermediate to advanced
1280 pages
28h 56m
English
Pearson
Content preview from Windows Graphics Programming Win32 GDI and DirectDraw®

Chapter 7. Pixels

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.

GDI OBJECTS, HANDLES, AND HANDLE TABLE

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ Windows Programming

C++ Windows Programming

Stefan Bjornander

Publisher Resources

ISBN: 0130869856Purchase book