See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.


Have one to sell? Sell yours here
 
 
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books) (Hardcover)

by Feng Yuan (Author)
3.8 out of 5 stars See all reviews (16 customer reviews)


Available from these sellers.


2 used from $162.50

Customers Who Bought This Item Also Bought

Windows 2000 Graphics API Black Book

Windows 2000 Graphics API Black Book

by Damon Chandler
Graphics Programming with GDI+ (Microsoft .NET Development Series)

Graphics Programming with GDI+ (Microsoft .NET Development Series)

by Mahesh Chand
3.8 out of 5 stars (26)  $45.49
Programming Windows®, Fifth Edition (Microsoft Programming Series)

Programming Windows®, Fifth Edition (Microsoft Programming Series)

by Charles Petzold
4.3 out of 5 stars (88)  $37.79
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series)

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) (Addison-Wesley Professional Computing Series)

by Scott Meyers
4.8 out of 5 stars (141)  $38.96
Windows® Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (PRO-Developer)

Windows® Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (PRO-Developer)

by Mark Russinovich
5.0 out of 5 stars (2)  $44.09
Explore similar items

Editorial Reviews

Product Description
A handbook for delivering high-performance Windows applications using Win32 GDI and Direct Draw. Completely demystifies the creation of Windows graphics. The CD-ROM contains system-level tools, kernel mode drivers, sample code, and C++ classes. System requirements: Windows 95+, CD-ROM drive. DLC: Computer graphics.

From the Back Cover
The world's most complete guide to Windows graphics programming!

  • Win32 GDI and DirectDraw: Accurate, under the hood, and in depth
  • Beyond the API: Internals, restrictions, performance, and real-life problems
  • Complete: Pixel, lines, curves, filled area, bitmap, image processing, fonts, text, metafile, printing, and more
  • Up to date: Windows 2000 and Windows 98 graphics enhancements
  • CD-ROM: Exclusive and professional quality generic C++ classes, reusable functions, demonstration programs, kernel mode drivers, GDI exploration tools, and more!

Hewlett-Packard Professional Books

To deliver high-performance Windows applications, you 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 all the information and techniques they need to maximize performance, efficiency, and reliability! You'll discover how to make the most of Microsoft's Windows graphics APIs—including the important new graphics capabilities built into Windows 2000. Coverage includes:

  • Uncovering the Windows system architecture and graphics system internal data structure
  • Building graphics API "spies" that show what's going on "under the hood"
  • Detecting GDI resource leaks and other powerful troubleshooting techniques
  • Expert techniques for working with the Win32 GDI and DirectDraw APIs
  • Device context, coordinate space and transformation, pixels, lines, curves, and area fills
  • Bitmaps, image processing, fonts, text, enhanced metafiles, printing, and more

Windows Graphics Programming delivers extensive code, practical techniques, and unprecedented insight—plus an exclusive CD-ROM containing original system-level tools, kernel mode drivers, sample code, and generic C++ classes for Windows graphics programming without MFC. If you want to build Windows graphics applications that deliver breakthrough performance and reliability, you'll find this book indispensable.



See all Editorial Reviews

Product Details

  • Hardcover: 1280 pages
  • Publisher: Prentice Hall PTR (December 22, 2000)
  • Language: English
  • ISBN-10: 0130869856
  • ISBN-13: 978-0130869852
  • Product Dimensions: 9.6 x 7.4 x 2.4 inches
  • Shipping Weight: 5 pounds
  • Average Customer Review: 3.8 out of 5 stars See all reviews (16 customer reviews)
  • Amazon.com Sales Rank: #600,992 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #12 in  Books > Computers & Internet > Programming > APIs & Operating Environments > Win32 API
    #72 in  Books > Computers & Internet > Microsoft > Graphics, Animation & Illustration

Look Inside This Book


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
Check a corresponding box or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

16 Reviews
5 star:
 (7)
4 star:
 (4)
3 star:
 (1)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (16 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
9 of 9 people found the following review helpful:
3.0 out of 5 stars Good book, but in chronic need of a editorial overhaul, April 5, 2001
By Moishe Halibard (Bet Shemesh Israel) - See all my reviews
This book, the most detailed on GDI written in the last few years, is a phenomenal repository of low-level detail regarding the GDI subsystem. It also has excellent chapters on many aspects of GDI, complementing the official documentation. However, it is poorly edited, with awkward syntax, wrong English usage, and often-confusing organization of material. It is also not clear what is gained by discussing GDI and DirectX together, when they seem to be distinct in APIs, Windows dlls, and conceptual underpinnings.

The first half of the book attempts to look 'under the hood'. Here is presented a curious and confusing mixture of GDI details, advanced spying tools and techniques, and accounts of spelunking experiences. None of this seems ordered in a logical manner - Pietrek, for example, saves the spelunking experiences to a chapter of its own, at the end of his book. Chapters have easy-to-follow analysis on the documented user-mode level, freely interspersed with unfamiliar and difficult discussions of the mostly undocumented Kernel-mode level. With no clear separation between the elementary and advanced material, it swings sharply from the pedantically clear, to the obscure unexplained. For example, after the excellent details of how to locate the GDI handle table, it merely tells you what the DC structure is, without telling you how it was deciphered. While we are given full details of API tracing in the conventional manner (a la Richter), with source code, we are only given the briefest abstract discussion of a new, unconventional API spying. In the latter case, there is a cursory mention that it is explored in unidentified 'quite a few magazine articles'.

All of this is further obfuscated with presentations of C++ wrapper classes, when what is really required is a clear discussion of the relevant WinAPI functions.

There is also quite a bit of repetition of material in different chapters (such as the structure of the GDI handle table), and some material is in strange places (such as the tool for tracking all GDI handles in the system, grouped by handle type, which appears in the chapter "Pixels").

The second half of the book leaves the undocumented and low-level stuff, to discuss vanilla GDI programming. The information here is well presented, well organized, and clear. It covers drawing pixels, lines, bitmaps, image processing, palettes, fonts, raster operations, printing, and finally DirectDraw. Almost no use whatsoever is made of the extensive 'under the hood' information painstakingly gathered in the first half. What is missing in the reams of C++ classes presented here are some classes to process the standard image formats other than bitmaps i.e. JPEGs, GIFs and PNGs. For JPEGs particularly, a good C++ class is sorely missing for all of us who have tried to read the cross-platform, cross-compiler, cross-eyed code distributed by the Independent JPEG Group.

The final chapter on DirectDraw is a great disappointment. DirectDraw is simply too large a subject for a single chapter, and such a chapter would only serve some purpose if it could impart an intuitive understanding of DirectDraw concepts, such as what a 'surface' is, and how it compares to a GDI device context. Instead we are treated once again to a series of C++ wrapper classes, the sort of stuff that more properly belongs on Yuan's Web site, than in this already-overweight book.

Regarding the tools on the CD - I could not start some of them from the Start menu. They (surprisingly) have an inconsistent GUI, and source code does not appear overly well commented. Even worse, the code makes extensive use of templates which obfuscate rather than illuminate the sample programs. Although 'proper' programmers are meant to be familiar with templates, many are not, and they have no place in a book that ostensibly is about GDI, rather than good programming practice. However, some of the tools are extremely useful and worth adding to your arsenal.

Although billed as covering Win9x as well as WinNT, there seems to be little more than a cursory mention of the 9x family. This is a shame, as although developers may justifiably detest the Win9x family, it accounts for the overwhelming majority of home computers, and a good GDI book should cover it in depth. In particular, I was looking for 'under the hood' information on Win9x, both the 32-bit GDI32.dll, and the 16-bit GDI.EXE, down to which most GDI calls thunk. Unless I was sleeping, I saw none of this in Yuan's book, and have to revert back to Pietrek's Secrets for this kind of information.

In summary, I think this is a superb book for detailed 'above the hood' GDI work. For those interested in GDI 'under the hood', there is excellent material, as well as good spelunking tools. However, I must say that I was quite disappointed with this book as a result of expectations raised too high by its claims, which end up obscuring the many good aspects of the book. It would gain from a rewrite, cutting out the chapter on DirectDraw, and correcting the worst of the faults that have crept in as a result of poor organization and editing.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 10 people found the following review helpful:
5.0 out of 5 stars i whish i can give it more than 5 starts, September 2, 2004
By Yue Fei "yue_fei" (Houston, TX USA) - See all my reviews
(REAL NAME)   
This book is the best of the kind.
With 1000+ pages, this book is a very broad and deep interview of windows graphics system. This book is for advanced developers. It does not teach you hand by hand how to draw a text, how to draw a window..., instead, this book is for the person who want to know how Microsoft implemented the Win32 graphics system. This book includes many windows internals and undocumented stuff.
I want to say thanks and show respect to the author 'Feng Yuan', for his kindness to publish the knowledge.

Keep in mind this book was published in 2001, I whish there will be a 2nd version, which include the new changes in Windows XP, and include details of the OpenGL's connection with GRE. And about the new Longhorn graphics engine.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 12 people found the following review helpful:
4.0 out of 5 stars Great addition to your windows programming library, January 6, 2001
By Chris Rudolph (Camas, WA USA) - See all my reviews
(REAL NAME)   
Given Feng's history with writing printing drivers for HP it is pretty clear that the information in this book covers his experience with GDI internals. The code examples are all in C++ and the sample code and utilities would add nicely to a programmers sandbox. The book covers the basics of GDI and graphics programming and then delves into more advanced image processing (affine transformations, alpha blending, mask blitting, filtering, etc.) There is even more stuff here, but I don't have enough room to type it in. This is definitely a book to have if you are writing shrink wrapped UI intensive applications.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

4.0 out of 5 stars Excellent product and delivery
This is a must have resource for anyone wanting to know what goes on underneath the covers. It is well written and has examples to reference.
Published 9 days ago by Software thru the ages

5.0 out of 5 stars Used Book Looking Brand New
Received the book earlier than expected.
Also did'nt expect it to look like brand new since I bought it used.
Published 4 months ago by PhotoNut

5.0 out of 5 stars Best book on Windows GDI
This the most extensive, best explained Windows GDI book ever read by me! I hereby highly recommend this book to everyone who is doing GDI intensive work.

Great job, Yuan!

Published on October 21, 2003 by g_m_c

1.0 out of 5 stars Excellent Coverage, Poorly Written
After spending several weeks going over the contents of this book, I do not recommend it to the beginning or intermediate readers. Read more
Published on October 10, 2003 by Nghi Lien

4.0 out of 5 stars Best description of GDI fonts I've seen
I can't speak to the strengths and weaknesses of the entire book as cited by other reviewers, but it's clear that text rendering was the author's primary motivation to explore the... Read more
Published on March 18, 2003 by Nom de guerre

2.0 out of 5 stars Useful, but Too many Mistales
I tested many code and contents of this book and discovered many misunderstandings and erros.

While reading and testing, I'd got doubtful of the reliability of this book. Read more

Published on November 4, 2002 by Takuo Nakamura

5.0 out of 5 stars A detailed explanation of GDI API
The book covers all aspects of GDI. The aspect I liked most is that it explains API function calls from a developer's perspective, highlighting bugs, discrepances or... Read more
Published on January 24, 2002 by Jose Cosio

5.0 out of 5 stars A Great Book
I've been looking for a book with this kind of practical information and depth for a long time. Unlike many books or references for Windows GDI, this one offers practical wisdom... Read more
Published on December 8, 2001 by raygr

4.0 out of 5 stars One book you will need for Windows programming...
This book did well to present Windows graphics programming, and since Windows is a GUI system you do not have to be doing Graphics application to buy this book. Read more
Published on November 16, 2001 by Paul Selormey

5.0 out of 5 stars Excellant coverage of even obscure areas.
This book has been a life saver. Packed full of great content not only about Graphics Programming, but some good style comments and hints. Read more
Published on August 14, 2001 by R. Hallet

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


SpaFeatures: Free Shipping

bath poof
Get free shipping on all SpaFeatures orders of $50 or more. See new items from SpaFeatures here.

Shop SpaFeatures now

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Summer Reading for Kids & Teens

Summer Reading for Kids and Teens
Discover everything from beach reads and board books to teen romance and action-adventure series in Summer Reading for Kids & Teens. And, check off the kids' required reading lists in our Summer School Reading Store.
 

Find Facom Tools

Shop for Facom Tools
Facom is the European leader in the hand tool market, manufacturing high-quality tools for professionals.

Shop Facom tools

 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates