Ebook Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan
It's no any kind of mistakes when others with their phone on their hand, as well as you're too. The difference could last on the product to open Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan When others open up the phone for chatting as well as chatting all things, you could often open as well as review the soft data of the Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan Naturally, it's unless your phone is available. You can also make or save it in your laptop or computer that eases you to review Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan.
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan
Ebook Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan
Locate the trick to enhance the quality of life by reading this Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan This is a sort of publication that you need now. Besides, it can be your favored book to review after having this book Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan Do you ask why? Well, Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan is a publication that has various particular with others. You may not need to know which the author is, exactly how widely known the job is. As wise word, never judge the words from that talks, however make the words as your good value to your life.
If you want truly obtain the book Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan to refer now, you need to follow this web page consistently. Why? Remember that you require the Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan source that will give you ideal assumption, don't you? By visiting this site, you have started to make new deal to constantly be up-to-date. It is the first thing you can begin to get all profit from being in a website with this Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan and also other compilations.
From currently, finding the finished website that offers the completed publications will certainly be lots of, however we are the relied on website to visit. Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan with simple link, easy download, and also completed book collections become our great solutions to get. You can locate and use the benefits of picking this Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan as every little thing you do. Life is always establishing and also you need some brand-new book Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan to be recommendation constantly.
If you still require more publications Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan as referrals, going to search the title and theme in this website is offered. You will certainly discover more whole lots publications Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan in different self-controls. You can also as quickly as possible to review guide that is currently downloaded. Open it as well as conserve Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan in your disk or gadget. It will alleviate you anywhere you require guide soft file to read. This Windows Graphics Programming: Win32 GDI And DirectDraw (Hewlett-Packard Professional Books), By Feng Yuan soft file to check out can be reference for everyone to boost the skill as well as ability.
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 implementing features and troubleshooting problems. This book is filled with high quality, original, system-level tools, kernal mode drivers, sample programs, and generic C++ classes for Windows programming without MFC. Readers can find out how to build API spys and hooks, detect GDI resource leaks, build image processing software, and more. Part 1 goes behind the scenes to uncover the Windows system architecture and graphics system internal data structure, and provides techniques for spying on the components of the graphics system. Part 2 provides detailed coverage of the Win32 GDI and Direct Draw API, based on the solid foundation built in Part 1. It covers device context, coordinate space and transformation, pixels, lines, and curves, area fills, various types of bitmaps, image processing, fonts, text, enhanced metafiles, and printing.
- Sales Rank: #955979 in Books
- Published on: 2000-12-22
- Ingredients: Example Ingredients
- Original language: English
- Number of items: 1
- Dimensions: 9.56" h x 2.51" w x 7.36" l,
- Binding: Hardcover
- 1280 pages
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.
About the Author
FENG YUAN is a Software Design Engineer for Hewlett Packard in Vancouver, WA. He holds a Ph.D. in Software Engineering from Nanjing University. For the past four years, he has specialized in creating drivers for HP DeskJet printers—giving him a burning motivation and a unique opportunity to understand Windows graphics programming inside and out.
Excerpt. © Reprinted by permission. All rights reserved.
Preface
To be truly valuable, a new book on Windows programming should be in-depth, complete, up to date, accurate, practical, and useful.
An in-depth book should go beneath the API layer to talk about API design rationale, internal data structure, and implementation outline. It should provide spying and exploration tools for you.
A complete and up-to-date book should focus on the best implementation of Win32 API so far, Windows 2000, which will be basis for future Microsoft operating systems, and cover its new features.
An accurate book should be based on actual exploration of Win32 API features and verify all the details. Relying solely on Microsoft documentation is definitely not good enough, because it merely describes the abstract Win32 API and unfortunately has some incomplete, out-of-date, and vague information.
A practical and useful book for programmers and software engineers should go beyond mere description of API and simple illustrative examples, to solve real-world problems, provide reusable building blocks, supply useful tools, and encourage readers to write professional programs.
In particular, a book of this sort is needed to elucidate Win32 GDI, or Windows graphics programming in general, which is a fundamental building block of all Windows programs. The most in-depth coverage to date may be provided by Matt Pietrek's books, which discuss the internal working of Windows 3.1 GDI. The most complete and up-to-date description of GDI is offered by Microsoft's MSDN library. Half of Charles Petzold's famous book Programming Windows, Fifth Edition, is devoted to Windows 98 GDI programming.
But for the whole Windows programming community dealing with Windows GDI frequently, something more in-depth, more complete, more up-to-date, more accurate, and more useful is needed. These are the goals that have guided the preparation of this book.
What Is This Book About?This book is about Windows graphics programming using Win32 GDI API, with an introduction to DirectDraw, and an even more brief introduction to Direct3D Immediate Mode. It covers common features implemented on all Win32 platforms, pure 32-bit features implemented on Windows NT/2000 only, and the most recent additions to GDI for Windows 2000 and Windows 98. For example, alpha blending, transparent bitblting, gradient fill, right-to-left reading order, layered window, and sending JPEG/PNG images to printer are fully covered.
This book is about programming Windows with a deep understanding of how things are actually implemented, so as to use Win32 API more effectively, efficiently, and confidently.
This book is about reading any Win32 documentation perceptively and analytically, trying to understand the minds of people designing and implementing Win32 API, and using logical reasoning and experiments to fully understand Win32 API, even to find missing information and identify mistakes in its documentation.
This book is about using programming tools effectively to help you understand Win32 API. More importantly, it demonstrates how you can build your own tools, often using hard-core system programming techniques, and design interesting experiments to explore the undocumented world underneath Win32 API. The first few chapters can be read as a system-level Windows programming book, which can be applied to other areas of Windows programming.
This book is about creating reusable building blocks for practical employment. Besides simple testing and demonstration programs, the book contains lots of reusable functions, C++ classes, drivers, tools, and nontrivial programs, which can be used in actual production-quality Windows programs. It develops a whole C++ class library of object-oriented Windows programming, which supports simple window, SDI window, MDI window, dialog box, toolbar, status window, property sheet, sub-classing, common dialog box, etc. It provides classes for DIB/DDB/DIB section handling, EMF rendering, image processing, color quantization, error-diffusion halftoning, JPEG image decoding/encoding, font file decoding, font embedding, PANOSE font matching, glyph drawing, 3D text, device-independent multiple-page layout, DirectDraw wrapper, Direct3D IM wrapper, and so on.
The code shown in this book does not rely on Microsoft Foundation Class, or any third-party class library, so it can be used in any C++ program. All the class names start with the letter "K," so you can easily mix them with MFC, ATL, or OWL, or your own class library.
How Is This Book Organized?The book covers Windows graphics programming at three layers: the implementation layer, the API layer, and the application layer.
The implementation layer covers what is behind the Win32 GDI API and DirectX COM interfaces, which is the undocumented world of Windows graphics engine and the Win32 subsystem client DLLs. Chapters 2, 3, and 4 cover the behind-the-scenes implementation layer to build a solid foundation for understanding the API layer.
The API layer provides precise, accurate, step-by-step description of Win32 GDI API, DirectDraw, and a little bit of Direct3D IM. The application layer builds on top of the API layer to solve real-world problems, implement reusable functions, C++ classes, and nontrivial programs. The API layer and application layer are mixed together according to individual topics. Normally, the first part of a chapter covers the API layer and then moves to real application-related programs. For more complicated topics like bitmap, one chapter covers the basics and two chapters cover more advanced usage.
Chapter 1, "Basic Techniques and Knowledge," reviews basic Windows programming techniques, which will be used in the rest of the book. It covers basic Windows programming, Intel assembly language, the program development environment, the Win32 executable file format, and the architecture of the Windows operating system. My favorite part is simple API hooking by overwriting Win32 module's import/export directories.
Chapter 2, "Windows Graphics System Architecture," gives a grand tour of the Windows graphics system from the Win32 subsystem DLLs down to the graphics device drivers. It touches on Windows graphics system components, GDI architec-
ture, DirectX architecture, printing subsystem architecture, the graphics engine, display drivers, and finally printer drivers. My favorite parts are the description of system service calls, which bridges user mode GDI implementation with the kernel mode graphics engine, a tool to list undocumented system service calls (from GDI32.DLL, USER32.DLL, NTDLL.DLL, and WIN32K.SYS), and a simple printer driver which generates HTML pages with embedded bitmaps.
Chapter 3, "GDI/DirectDraw Internal Data Structures," can be read as a detective story or treasure-hunting adventure. It starts by explaining the Win32 handle-based object-orient programming paradigm, then tries to understand what a GDI object handle is, proceeds to actually locate the GDI handle table, decode it, and finally expose the complicated web of data structures the Windows graphics system keeps internally. Virtual memory querying, Microsoft's debug symbol files, homegrown tools and Microsoft Visual C++ debugger are used to locate the GDI handle table. A kernel mode driver is developed to read from the kernel mode address space. The Fosterer program developed in Chapter 3 uses Microsoft's GDI debugger extension to decode the GDI handle table, and graphics engine/DirectX internal data structures, all with the convenience of a single machine. You just can't afford to miss trying the Fosterer program, on either a Windows NT or Windows 2000 machine. But first, you need to install debug symbol files and get Microsoft's WinDbg.
Description of internal data structure should be treated as reference material to gain deep understanding or help in DDI level debugging, as the details may change from release to release, even from service pack to service pack. Feel free to skip any sections not interesting to you and come back when you need some insights, for example to understand GDI object resource usage or performance issues.
Chapter 4, "Spying in the Windows Graphics System," presents various techniques and tools for spying on Windows graphics system and the whole Windows system in general. You will learn about injecting DLL into foreign processes, hooking into the API calling chain, information gathering, decoding, and reporting, API specification for the spying program, spying on Win32 API calls, API hooking by binary-relocation, system service call hooking, COM interface hooking, and finally kernel mode DDI interface hooking. My favorite parts are using assembly to write proxy routines, and hooking on intramodular calls, system service calls, and DDI calls to watch how the system really works. Chapter 4 is for hard-core programmers; skip it if you do not need it now.
Chapter 5, "Graphics Device Abstraction," begins a description of the whole Windows graphics programming APIs and practice usage. Chapter 5 deals with video display card, frame buffer, GDI device context object, generic frame window class, and painting in a window. My favorite part is the WinPaint program that visualizes a window's painting messages.
Chapter 6, "Coordinate Spaces and Transformation," discusses the four coordinate spaces supported by GDI, window-to-viewport mapping, world coordinate transformation (affine transformation), and finally their usage in scrolling and zooming. I missed playing WeiQi, an oriental board game, so much during the writing of this book that I wrote a simple WeiQi board displaying program as Chapter 6's sample program.
Chapter 7, "Pixels," gives a generic description of GDI objects, handles, and handle table on the GDI API level, which is followed by a program to monitor system-wide GDI handle usage. It then discusses simple region and provides a complete picture of GDI clipping, color spaces, and pixel drawing, ending with a Mandelbrot set drawing program. The best part may be the descriptio...
Most helpful customer reviews
4 of 4 people found the following review helpful.
Best description of GDI fonts I've seen
By Nom de guerre
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 depths of GDI. Chapters 14 ("Fonts") and 15 ("Text") deserve to be expanded into a volume of their own. If you're a developer seeking a thorough understanding of the way Windows deals with text, from the low-level details of the TrueType font file format to the undocumented quirks of the higher-level GDI APIs, you simply can't do any better than Yuan's book.
4 of 5 people found the following review helpful.
A detailed explanation of GDI API
By Jose Cosio
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 misunderstandings present in Microsoft GDI documentation. At the beginning it covers the internals of windows explaining how components are interconnected and showing the tools used to understand it.
I liked the coverage of Bitmaps (loading and saving to disk, filtering and alpha blending), the detailed explanation of routines we take for granted (like simple lines, regions or fonts)...
All the examples consist of a series of C++ reusable classes wrapping functionality
2 of 3 people found the following review helpful.
One book you will need for Windows programming...
By Paul Selormey
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. There are many cases where the author used some API which are not supported on Win9.x and you might have problems trying to run some of the samples on such systems. However, if you wish to study graphics programming under Windows, there is no better book. A lot of the samples are very practical and you can use them directly in your applications. Besides the author promptly answers all my questions anytime I run into trouble.
It is not perfect but you cannot do without it.
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan PDF
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan EPub
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan Doc
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan iBooks
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan rtf
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan Mobipocket
Windows Graphics Programming: Win32 GDI and DirectDraw (Hewlett-Packard Professional Books), by Feng Yuan Kindle
Tidak ada komentar:
Posting Komentar