Skip to content

Windows Graphics Programming Win32 GDI and DirectDraw

Best in textbook rentals since 2012!

ISBN-10: 0130869856

ISBN-13: 9780130869852

Edition: 2001

Authors: Feng Yuan

List price: $59.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

To deliver high-performance Windows applications, developers need an in-depth understanding of the Win32 GDI and DirectDraw -- but until now, it's been virtually impossible to discover what's going on "behind" Microsoft's API calls. This book rips away the veil, giving experienced Windows programmers the information and techniques they need to maximize performance, efficiency, and reliability -- and to make the best use of Windows graphics APIs and the important new graphics features provided in Windows 2000. Readers will gain a clear, concrete understanding of how GDI and DirectDraw are implemented internally; their limitations, resource requirements, and performance impact; and keys to…    
Customers also bought

Book details

List price: $59.99
Copyright year: 2001
Publisher: Prentice Hall PTR
Publication date: 12/22/2000
Binding: Hardcover
Pages: 1280
Size: 7.50" wide x 9.75" long x 2.50" tall
Weight: 4.532
Language: English

James Patterson was born in Newburgh, New York, on March 22, 1947. He graduated from Manhattan College in 1969 and received a M. A. from Vanderbilt University in 1970. His first novel, The Thomas Berryman Number, was written while he was working in a mental institution and was rejected by 26 publishers before being published and winning the Edgar Award for Best First Mystery. He is best known as the creator of Alex Cross, the police psychologist hero of such novels as Along Came a Spider and Kiss the Girls. Cross has been portrayed on the silver screen by Morgan Freeman. He has had eleven on his books made into movies and ranks as number 3 on the Hollywood Reporter's '25 Most Powerful…    

Preface
Basic Techniques and Knowledge
Basic Windows Programming in C/C++
Assembly Language
Program Development Environment
Win32 Executable File Format
Architecture of Microsoft Windows OS
Summary
Windows Graphics System Architecture
Windows Graphics System Components
GDI Architecture
DirectX Architecture
Printing Architecture
Graphics Engine
Display Drivers
Printer Drivers
Summary
GDI/DirectDraw Internal Data Structures
Handles and Object-Oriented Programming
Decoding GDI Object Handles
Locating the GDI Object Handle Table
Decoding the GDI Object Handle Table
User Mode Data Structure of GDI Objects
Accessing Kernel Mode Address Space
WinDbg and the GDI Debugger Extension
GDI Kernel Mode Data Structure
DirectDraw Data Structure
Summary
Spying in the Windows Graphics System
Spying on Win32 API Calls
Spying on Win32 GDI
Spying on DirectDraw COM Interfaces
Spying on GDI System Calls
Spying on the DDI Interface
Summary
Graphics Device Abstraction
Modern Video Display Card
Device Context
Formalizing Device Context
Sample Program: Generic Frame Window
Sample Program: Painting and Device Context
Summary
Coordinate Spaces and Transformation
The Physical Device Coordinate Space
The Device Coordinate Space
The Page Coordinate Space and Mapping Modes
The World Coordinate Space
Using Coordinate Spaces
Sample Program: Scrolling and Zoom
Summary
Pixels
GDI Objects, Handles, and Handle Table
Clipping
Color
Drawing Pixels
Sample Program: Mandelbrot Set
Summary
Lines and Curves
Binary Raster Operations
Background Mode and Background Color
Pens
Lines
Bezier Curves
Arcs
Paths
Sample: Drawing Your Own Styled-Lines
Summary
Areas
Brushes
Rectangles
Ellipses, Chords, Pies, and Rounded Rectangles
Polygons
Closed Paths
Regions
Gradient Fills
Area Fills in Reality
Summary
Bitmap Basics
Device-Independent Bitmap Formats
A DIB Class
Displaying a DIB
Memory Device Contexts
Device-Dependent Bitmaps
Using DDBS
DIB Section
Summary
Advanced Bitmap Graphics
Ternary Raster Operations
Transparent Bitmaps
Transparency without a Mask Bitmap
Alpha Blending
Summary
Image Processing Using Windows Bitmaps
Generic Pixel Access
Bitmap Affine Transformation
Fast Specialized Bitmap Transformer
Bitmap Color Transformation
Bitmap Pixel Transformation
Bitmap Spatial Filters
Summary
Palettes
System Palette
The Logical Palette
Palette Messages
Palette and Bitmaps
Color Quantization
Bitmap Color-Depth Reduction
Summary
Fonts
What's a Font?
Bitmap Fonts
Vector Fonts
TrueType Fonts
Font Installation and Embedding
Summary
Text
Logical Fonts
Querying Logical Font
Simple Text Drawing
Advanced Text Drawing
Text Formatting
Text Effects
Summary
Metafile
Metafile Basics
Inside an Enhanced Metafile
Enumerating an EMF
An EMF as a Programming Tool
Summary
Printing
Understanding the Spooler
Basic Printing Using GDI
Design for Printing
Drawing on Printer Device Context
Summary
DirectDraw and Direct3D Immediate Mode
Component Object Model (COM)
DirectDraw Basics
Building a DirectDraw Graphics Library
Direct3D Immediate Mode
Summary
Index