The System.Drawing.Drawing2D namespace defines advanced functionality to work with 2D graphics objects. In this chapter we discussed the functionality defined in this namespace. We started the chapter by discussing the line caps and line styles. We saw sample code that set the line cap, line dash style, and line dash caps.
Next we covered graphics paths and graphics containers. We saw the usefulness of graphics paths and containers, and their advantages over nongraphics paths and containers. We also discussed graphics container states.
In the blending section of this chapter, we learned about color blending, alpha blending, and mixed blending. We discussed how to use linear gradient and path gradient brushes to draw blended objects. We saw how to use colors to draw alpha-blended graphics objects.
We also discussed other topics and classes defined in the System.Drawing.Advanced2D namespace, including metadata of images, how to set gamma correction, region data, and drawing quality.
Chapter 10 will focus on transformations, presenting the basics of transformations, matrices, and matrix operations, and how to apply transformation in practice.
GDI+: The Next-Generation Graphics Interface
Your First GDI+ Application
The Graphics Class
Working with Brushes and Pens
Colors, Fonts, and Text
Rectangles and Regions
Working with Images
Advanced 2D Graphics
Developing GDI+ Web Applications
GDI+ Best Practices and Performance Techniques
Miscellaneous GDI+ Examples
Appendix A. Exception Handling in .NET