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