From d1a9c0e770c7c83aa46bdfa0e54283720dd1a79d Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Thu, 15 Apr 2010 17:55:20 +0200 Subject: aw081 #i106516# corrected clipping error with metafile rendering --- drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drawinglayer/source') diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 0bc1b57113b8..fe73b224bc10 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1429,7 +1429,11 @@ namespace drawinglayer { // there is already a clip polygon set; build clipped union of // current mask polygon and new one - maClipPolyPolygon = basegfx::tools::clipPolyPolygonOnPolyPolygon(aMask, maClipPolyPolygon, false, false); + maClipPolyPolygon = basegfx::tools::clipPolyPolygonOnPolyPolygon( + aMask, + maClipPolyPolygon, + true, // #i106516# we want the inside of aMask, not the outside + false); } else { -- cgit