summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-07 15:33:13 +0200
committerKohei Yoshida <kohei.yoshida@suse.de>2013-06-07 19:49:51 +0000
commit61d6cf35ab3fc9ea09790d5f5f30a25c5132d12c (patch)
tree9f8a4628889f8da5c943ce3201cf9454ec23fc20
parentb8d1eb57f7ddae3ab0d931b695c07d7483df5d43 (diff)
Transform the clipping polygon before using it
(cherry picked from commit abdbb847fa135dd758ef3ef99db4c07a2671ca47) Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1 Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-on: https://gerrit.libreoffice.org/4190 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 81f7eb7de01b..201603f7a76a 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1763,6 +1763,7 @@ namespace cppcanvas
mappedPoint.getX() + mappedSize.getX(),
mappedPoint.getY() + mappedSize.getY() ) ) ) );
+ polyPolygon.transform(rState.mapModeTransform);
updateClipping (polyPolygon, rFactoryParms, combineMode == 1);
break;