GDI+ is the name of
the drawing API in .NET. It is exposed through classes defined in the
and its descendants,
System.Drawing.Text. It provides a simple but
powerful set of tools for drawing text, bitmaps, and vector graphics.
There is a small group of classes that are crucial for drawing anything—some represent fundamental concepts such as colors, coordinates, and drawing styles, others represent entities that can be drawn into, such as bitmaps or windows. We will start by seeing what each of these classes is for, and how they relate to each other. Then, we will look at the various drawing facilities supplied by GDI+ and how to use them. Finally, we will look at some of the advanced support for changing the coordinate system used for drawing.
There are certain classes defined in the
System.Drawing namespace that are used in almost all drawing code. This is because they represent concepts ...