[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - cppcanvas/source
Fridrich Å trba
fridrich.strba at bluewin.ch
Fri Jun 7 07:18:16 PDT 2013
cppcanvas/source/mtfrenderer/emfplus.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2135349aaf5494cfd89241a14e4f5c6c157beb05
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri Jun 7 15:33:13 2013 +0200
Transform the clipping polygon before using it
Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1
(cherry picked from commit abdbb847fa135dd758ef3ef99db4c07a2671ca47)
Signed-off-by: Thorsten Behrens <tbehrens at suse.com>
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 285b824..bb87728 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1818,6 +1818,7 @@ namespace cppcanvas
::basegfx::B2DPolyPolygon polyPolygon( ::basegfx::B2DPolygon( ::basegfx::tools::createPolygonFromRect( ::basegfx::B2DRectangle( mappedPoint.getX(), mappedPoint.getY(),
mappedPoint.getX() + mappedSize.getX(),
mappedPoint.getY() + mappedSize.getY() ) ) ) );
+ polyPolygon.transform(rState.mapModeTransform);
updateClipping (polyPolygon, rFactoryParms, combineMode == 1);
More information about the Libreoffice-commits
mailing list