Chapter 11. Introduction to GDI

Team-Fly    

 
Application Development Using Visual Basic and .NET
By Robert J. Oberg, Peter Thorsteinson, Dana L. Wyatt
Table of Contents
Part 5.  Advanced UI Programming Using VB.NET


Chapter 11. Introduction to GDI+

GDI+ is a class-based application programming interface for performing two-dimensional graphics in a device-independent manner. There are both managed .NET classes and unmanaged C++ classes that implement the API. GDI+ is the successor to the older GDI (graphics device interface) that was supplied with earlier versions of Windows. In this chapter we introduce graphics programming in VB.NET using GDI+ and the .NET classes.

Earlier versions of Visual Basic provided a simple set of graphics functions, but for full-blown graphics programming, it was necessary to program at a lower level, using C or C++. Now with GDI+ Visual Basic, programmers enjoy the complete power of graphics programming. And C/C++ programmers will find that graphics programming using GDI+ is much easier than using the GDI. In this chapter we outline the architecture of GDI+ and discuss programming vector graphics, text, fonts, bitmaps, and metafiles. We also see how memory is managed in GDI+, and we learn how to implement scrolling.

The subject of GDI+ is large, and a whole book could be written about it. The purpose of this chapter is to provide you with an orientation to this important topic.


Team-Fly    
Top
 


Application Development Using Visual BasicR and .NET
Application Development Using Visual BasicR and .NET
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 190

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net