Fundamental Concepts

Before delving into the examples, let’s go over a few fundamental concepts about GDI+ programming.

The GDI+ Namespaces

The GDI+ related classes are defined in the following namespaces:

  • System.Drawing Provides basic graphics classes such as Bitmap, Font, Brushes, Graphics, Icon, Image, Pen, Region, etc.

  • System.Drawing.Drawing2D Provides advanced two-dimensional and vector graphics classes such as the LinearGradientBrush and the Matrix classes.

  • System.Drawing.Imaging Provides advanced imaging functionality classes.

  • System.Drawing.Printing Provides classes dealing with printing.

  • System.Drawing.Text Contains classes with typography support.

This chapter only covers classes contained in the first two namespaces listed. It does ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.