Dynamic PDF
 
Welcome Guest      

Book Information

Publisher: Addison Wesley
Price: $54.99
Source code: C#
VB.NET Code
BUY @ AMAZON NOW
 
GDI+ Resources
C# Corner's GDI+ Section
GDI+ 1.0 Security Update
 

 Book: Graphics Programming with GDI+
By Mahesh Chand, founder C# Corner

Graphics Programming in GDI+ is the most in-depth treatment available on writing effective graphics applications for the .NET Framework.

Graphics Programming with GDI+ is the .NET developer's guide to writing graphics applications for Windows and the Web. Through the use of detailed examples it provides experienced programmers with a deep understanding of the entire GDI+ API defined in the .NET Framework class library.

The book begins with an introduction to GDI+ and the basics of graphics programming in Windows. The core of the book is a hands-on guide to practical topics, including how to use Windows Forms and optimize GDI+ performance. Chapters demonstrate how to develop real-world tools such as GDI+Painter, GDI+Editor, ImageViewer, and ImageAnimator. The author provides extensive reusable sample code in C# throughout, and complete downloadable source code in C# and Visual Basic .NET is available online, as are color versions of screen shots from the book.

Key topics include:

  • How GDI+ compares to GDI
  • How GDI+ is defined and used in the .NET Framework
  • How to draw, paint, and fill graphics objects
  • Viewing and manipulating images
  • Transforming graphics objects, images, and colors
  • Printing in .NET
  • How to develop GDI+ Web applications
  • How to optimize drawing quality and performance
  • Interactive color blending and transparent colors
  • GDI interoperability
  • Answers to frequently asked GDI+ questions

Chapter Organization

  • Chapter 1. GDI+: The Next-Generation Graphics Interface
    GDI+ is a new and improved version of GDI. This chapter introduces you to the GDI+ library, its advantages over previous versions, new features and additions to the library, and how it is related to the .NET Framework.
  • Chapter 2. My First GDI+ Application
    In the .NET Framework Library, GDI+ functionality is defined in the System.Drawing namespace and its sub namespaces. In this chapter, we discuss the contents of these namespaces. After finishing this chapter, you will understand what functionality is defined where and when to which namespace.
  • Chapter 3. The Graphics Class
    The Graphics class plays a major role in GDI+. Whenever you need to draw a graphics object, you must use the Graphics class. In this chapter, we discuss Graphics class methods and properties and how to use them. After completing this chapter, you'll have pretty good idea how to draw and fill various graphics objects.
  • Chapter 4. Working with Brushes and Pens
    Brushes and pens are used to fill and draw graphics object. GDI+ provides many classes to work with brushes and pens. This chapter shows how to work with them.
  • Chapter 5. Colors, Fonts, and Text
    In this chapter, we discuss the color, font and text-related classes provided by the .NET framework class library in more detail.
  • Chapter 6. Rectangles and Regions
    Rectangles and regions can be very useful... and very tricky. In this chapter, we cover them in detail.
  • Chapter 7. Working with Images
    The .NET Framework divides GDI+ functionality between two namespaces - System.Drawing and System.Drawing.Imaging. This chapter covers imaging-related basis functionality defined in the System.Drawing namespace.
  • Chapter 8. Advanced Imaging
    In this chapter, we discuss more Imaging functionality, including the System.Drawing.Imaging namespace and how to work with metafiles in the .NET framework. We will also see how to maintain the quality and rendering speed of images in GDI+.
  • Chapter 9. Advanced 2D Graphics
    In this chapter, we discuss advanced 2-dimensional graphics programming using GDI+. Advanced 2D techniques include blending, matrix, graphics path and gradient brushes.
  • Chapter 10. Transformation
    In this chapter, we examine GDI+ transformation. Not only can you apply transformation on graphics shapes, curves, and images, you can also apply transformation on image colors.
  • Chapter 11. Printing
    Printing functionality in the .NET Framework library is defined in the System.Drawing.Printing namespace. In this chapter, we explore this namespace and how to write printing applications.
    Some of the topics covered in this chapter are - the printing process, printer settings, page settings, resolution, print document, print events, printing text, printing graphics and images, PrintDialog, PrintSetupDialog, PrintPreviewDialog, Customizing page settings such as margins, custom pager size, paper source, paper kind, print range etc, Printing multiple pages, Custom Controlling, and Print Controller.
  • Chapter 12. Developing GDI+ Web Applications
    GDI+ can also be used in Web applications. In this chapter, we will discuss how you can use GDI+ in Web application with ASP.NET.
  • Chapter 13. GDI+ Best Practices and Performance Techniques
    In this chapter, we concentrate on GDI+ best practices and GDI+ related tips and tricks to improve the quality and performance of drawing.
  • Chapter 14. GDI Interoperability
    In this chapter, we see how GDI can be used with GDI+ in managed applications.
  • Chapter 15. Miscellaneous GDI+ Examples
    In this chapter, we have some for with GDI+. Among the topics in this chapter are designing interactive GUI applications, shaped forms, and adding custom text in images.
  • Appendix A. Exception Handling in .NET
    This section introduces exception and error handling in .NET.

Find more details and ORDER NOW

About the Author

Mahesh Chand is a .NET consultant, author and the admin and founder of C# Corner. He has been working with .NET technology since pre beta releases.  Mahesh's background includes Master's in Computer Science and Applications and B.Sc. Mathematics. He has over 8 years of software development experience with Microsoft technologies and has extensive experience developing client-server, distributed, Web services, and component based applications using Visual Studio .NET. Before moving to .NET, Mahesh has worked on MFC, COM, ATL, and Visual C++ based applications. Mahesh has helped many companies in migration of their existing non .NET products to .NET products and build new products based on .NET technology. If you are looking for a consulting help, contact him at mahesh@c-sharpcorner.com.

Publication:
Mahesh is a MCP and author of several .NET programming books including
Graphics Programming with GDI+ Addison Wesley 2003, Applied ADO.NET: Building Data-Driven Solutions APress 2003, A Programmer's Guide to ADO .NET in C# APress 2002, and The Complete Guide for Visual C# Programmers.

Reviews and Comments

"This is the most comprehensive book about graphics programming using GDI+ so far. A lot of useful sample code inside this book reveals that Mr. Chand apparently has done a fair amount of research on GDI+. This book will be a very useful handbook for everyone who does graphics programming for Windows."
--Min Liu, Software Design Engineer of GDI+, Microsoft Corporation

"Graphics Programming with GDI+ explores and exploits a wonderful range of GDI+ programming concepts, techniques, and applications for programmers of beginner to intermediate abilities. Being a prolific contributor to the Internet community of developers, Mahesh Chand is offering what seems to be a natural extension of what he does best--sharing his programming skills with other talented programmers. Each chapter compels to the next."
--Jason Hattingh, Director, Greystone Digital FX

"Mahesh does a very good job getting .NET developers up to speed using the GDI+ features supported in the .NET Framework. There is good coverage of graphics fundamentals that helps the reader better understand the concepts of graphics programming with GDI+, and there are some excellent sample applications that demonstrate the graphics topics covered to reinforce the concepts presented."
--Charles G. Parker, President, Parallel Consulting, Inc.

"Graphics Programming with GDI+ is a comprehensive reference for anyone who wants to leverage this technology. It presents a clear discussion of the topics in such a manner that is comprehensible to the beginner, but sufficiently in-depth to challenge seasoned programmers."
--Deborah J. Bechtold, MCSD, MCDBA

The best features of the book include extensive coverage of printing in .NET, with over 100 pages devoted to such topics as printing graphics and images, manipulating printer settings and hard-to-find coverage of the Print Controller class. Chand explains all the details of printing in .NET, including topics you won't find on MSDN or in other books. In addition, this is one of the few places that ASP.NET developers can find a gentle introduction to GDI+ for Web applications. Chand draws form his experiences on the c-sharpcorner message boards, and includes a chapter on GDI+ FAQs, along with tips for optimizing performance and image rendering, a chapter covering the use of GDI in a managed environment through COM interop, and a chapter on "Best Practices" with GDI+. This book is also filled with the kind of sample code which is so often missing from MSDN.  Read Peggy Wilmarth  moreat Denver .NET Users Group
This book is both an excellent reference and a wonderful tutorial for beginning through intermediate programmers using the .NET environment. Unlike many introductory books, the book is focused on the graphical display of programmatic information in many forms including text, shapes, bitmaps and metafiles from display devices to printers.

I found Chand's book well conceived and clearly written. It belongs in every programmer's reference library that uses the .NET framework. Read Kenneth LIoid more at CodeGuru here

Simply the best...This book is the best practicle guide a developer can have with him if he needs to work with GDI+. The most refreshing part of the book is the examples that are part of the book. For a developer like me who has to work under narrow deadlines, this book helped me do the stuff with less time spent looking and researching for stuff. Read more at Faculty of Computers
A few months ago, I read my first book in Addison-Wesley's "Microsoft .NET Development Series" titled Graphics Programming with GDI+ by Mahesh Chand.  I knew his name as the founder of c-sharpcorner and figured it'd be a great read.  I was right.  Well, I've read a few more of their titles and I have to say that this is far and away the best series of books published today. Read William Ryan at Know Dot Net here
 
 
     
   
 
Dynamic PDF
 Hosted by MaximumASP. Found a broken link? Terms and conditions © 2000-2005 C# Corner. All Rights Reserved.