Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/4190
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/90/4190/1
Transform the clipping polygon before using it
(cherry picked from commit abdbb847fa135dd758ef3ef99db4c07a2671ca47)
Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1
Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
---
M cppcanvas/source/mtfrenderer/emfplus.cxx
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 81f7eb7..201603f 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1763,6 +1763,7 @@
mappedPoint.getX() + mappedSize.getX(),
mappedPoint.getY() + mappedSize.getY() ) ) ) );
+ polyPolygon.transform(rState.mapModeTransform);
updateClipping (polyPolygon, rFactoryParms, combineMode == 1);
break;
--
To view, visit https://gerrit.libreoffice.org/4190
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0-4
Gerrit-Owner: Thorsten Behrens <tbehrens@suse.com>
Gerrit-Reviewer: Fridrich Strba <fridrich@documentfoundation.org>
Context
- [PATCH libreoffice-4-0-4] Transform the clipping polygon before using it · Thorsten Behrens (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.