[PATCH libreoffice-4-0-4] Transform the clipping polygon before using it

Thorsten Behrens (via Code Review) gerrit at gerrit.libreoffice.org
Fri Jun 7 09:52:44 PDT 2013


I have submitted a patch for review:


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 at 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);

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 at suse.com>
Gerrit-Reviewer: Fridrich Strba <fridrich at documentfoundation.org>

More information about the LibreOffice mailing list