Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53947
Improve performance of GdipDrawImagePointsRect by: 1. avoiding multiplication and use addition where it is possible. 2. avoid calculating `GdipInvertMatrix` if it is not used It gives noticible speed improvement.
I divided MR to several commits, to better undestand what is going on.
Application for testing (it needs logo.jpg file): [gdiplusdrawimagepoints.exe](/uploads/545ff7d8ab1d60386366f64999346825/gdiplusdrawimagepoints.exe)
-- v8: gdiplus: Improve performance of DrawImagePointsRect by avoid TransformMatrixPoints gdiplus: Improve performance of GdipDrawImagePointsRect gdiplus: use iterator instead calculate pointer position every time gdiplus: limit calculating transformation points to resampling