O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

GDI+ is a set of .NET classes that provide an API for performing two-dimensional graphics in a device-independent manner. In this chapter we surveyed the main features of GDI+. We looked at the painting architecture of Windows Forms, including the role of a clipping region. We studied various tools for drawing, including pens, brushes, and fonts. We examined important data structures used in GDI+, including points, sizes, rectangles, and colors. A drawing program illustrated rubber-band drawing, allowing us to create a drawing of rectangles and ellipses of various shapes, colors, and types of brush. We saw how to work with bitmaps and metafiles. We examined use of Dispose to properly clean up GDI+ resources in our programs, and we concluded ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required