O'Reilly logo

Windows Graphics Programming Win32 GDI and DirectDraw® by Feng Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Advanced Bitmap Graphics

Bitmaps are such an important area of Windows graphics programming that we can't cover the topic in a single chapter. The last chapter basically covered the three bitmap types supported by GDI: device-independent bitmaps, device-dependent bitmaps, and a DIB section. We discussed fundamentals such as various ways of displaying bitmaps, using them in user interface design, and even implementing software high-resolution rendering.

There is much more about bitmaps we have not covered yet. This chapter will cover raster operations, transparency, and alpha blending. We will cover image processing using Window bitmaps in Chapter 12 and palettes in Chapter 13.

TERNARY RASTER OPERATIONS

When using GDI to draw a line or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required