In Chapters 7 and 8 we learned how to use advanced imaging functions of the Image, Bitmap, and other classes defined in the System.Drawing and System.Drawing.Imaging namespaces. In this chapter we will discuss advanced two-dimensional GDI+ programming. The .NET Framework library defines this functionality in a separate namespace: System.Drawing.Drawing2D. Among the advanced 2D techniques we will discuss are blending, matrices, graphics paths, and gradient brushes.
Before using any class discussed in this chapter, an application should reference the System.Drawing.Drawing2D namespace by adding the following line:
Apart from blending, gradient brushes, graphics containers, graphics ...