Change-Id: I931ac89553f5025d7729274c9e00a095ae65e7cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88325
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2020-02-09 11:10:28 +01:00
committed by Julien Nabet
parent 3c2efd2ec3
commit 121fb94b78

View File

@@ -2438,7 +2438,7 @@ static void paintToGdiPlus(
Gdiplus::PointF aDestPoints[3];
Gdiplus::ImageAttributes aAttributes;
// define target region as paralellogram
// define target region as parallelogram
aDestPoints[0].X = Gdiplus::REAL(rTR.mnDestX);
aDestPoints[0].Y = Gdiplus::REAL(rTR.mnDestY);
aDestPoints[1].X = Gdiplus::REAL(rTR.mnDestX + rTR.mnDestWidth);
@@ -2610,7 +2610,7 @@ bool WinSalGraphicsImpl::drawTransformedBitmap(
nSrcHeight,
nDestHeight);
// this mode is only capable of drawing the whole bitmap to a paralellogram
// this mode is only capable of drawing the whole bitmap to a parallelogram
aDestPoints[0].X = Gdiplus::REAL(rNull.getX());
aDestPoints[0].Y = Gdiplus::REAL(rNull.getY());
aDestPoints[1].X = Gdiplus::REAL(rX.getX());