[Libreoffice-commits] core.git: cppcanvas/source

Fridrich Å trba fridrich.strba at bluewin.ch
Fri Jun 7 06:36:12 PDT 2013


 cppcanvas/source/mtfrenderer/emfplus.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit abdbb847fa135dd758ef3ef99db4c07a2671ca47
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

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index b296075..dfc9b31 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1817,6 +1817,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