In Chapter 9 we delved into advanced 2D graphics programming. In this chapter we will explore GDI+ transformations. A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformations can be applied not only to graphics shapes, curves, and images, but even to image colors.
In this chapter we will cover the following topics:
The basics of transformation, including coordinate systems and matrices
Global, local, and composite transformations
Transformation functionality provided by the Graphics class
Transformation concepts such as shearing, rotation, scaling, and translation
The Matrix and ColorMatrix ...