Perform affine transformation on the drawing surface.
An affine transformation is an operation where every pixel is copied to another pixel according to the formula.
xDest = a * xSrc + b * ySrc + c
yDest = d * xSrc + e * ySrc + f
where (xSrc, ySrc) is a source pixel, and (xDest, yDest) is where it should go to.
Many graphics operation, such as translation, rotation, and resizing, can be considered as a special case of affine transformation.
© 2012 Advanced Software Engineering Limited. All rights reserved.