GDI+
GDI+ is the name of
the drawing API in .NET. It is exposed through classes defined in the
System.Drawing namespace
and its descendants, System.Drawing.Drawing2D,
System.Drawing.Imaging, and
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.
Essential GDI+ Classes
There are certain classes defined in the
System.Drawing namespace that are used in almost all drawing code. This is because they represent concepts ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access