diff options
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclhelpergradient.cxx | 8 | ||||
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/drawinglayer/source/processor2d/vclhelpergradient.cxx b/drawinglayer/source/processor2d/vclhelpergradient.cxx index fd2136208139..804a023ef106 100644 --- a/drawinglayer/source/processor2d/vclhelpergradient.cxx +++ b/drawinglayer/source/processor2d/vclhelpergradient.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclhelpergradient.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: aw $ $Date: 2007-03-06 12:34:17 $ + * last change: $Author: hdu $ $Date: 2007-04-17 10:02:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -110,12 +110,12 @@ namespace drawinglayer { basegfx::B2DPolygon aNewPoly(rUnitPolygon); aNewPoly.transform(rMatrices[a - 1L]); - rOutDev.DrawPolygon(Polygon(aNewPoly)); + rOutDev.DrawPolygon(aNewPoly); } } else { - rOutDev.DrawPolyPolygon(PolyPolygon(rTargetForm)); + rOutDev.DrawPolyPolygon(rTargetForm); } } } diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 122e53204785..5f9f626f3328 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclprocessor2d.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: aw $ $Date: 2007-03-06 12:34:17 $ + * last change: $Author: hdu $ $Date: 2007-04-17 10:02:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -322,12 +322,12 @@ namespace drawinglayer for(sal_uInt32 a(0L); a < aClippedPolyPolygon.count(); a++) { const basegfx::B2DPolygon aClippedPolygon(aClippedPolyPolygon.getB2DPolygon(a)); - mpOutputDevice->DrawPolyLine(Polygon(aClippedPolygon)); + mpOutputDevice->DrawPolyLine(aClippedPolygon,0.0); } } else { - mpOutputDevice->DrawPolyLine(Polygon(aLocalPolygon)); + mpOutputDevice->DrawPolyLine(aLocalPolygon,0.0); } } @@ -352,7 +352,7 @@ namespace drawinglayer mpOutputDevice->SetFillColor(Color(aModifiedColor)); mpOutputDevice->SetLineColor(); - mpOutputDevice->DrawPolygon(Polygon(aPolygon)); + mpOutputDevice->DrawPolygon(aPolygon); bPainted = true; } @@ -426,7 +426,7 @@ namespace drawinglayer mpOutputDevice->SetFillColor(Color(aModifiedColor)); mpOutputDevice->SetLineColor(); - mpOutputDevice->DrawPolygon(Polygon(aPolygon)); + mpOutputDevice->DrawPolygon(aPolygon); bPainted = true; } @@ -574,7 +574,7 @@ namespace drawinglayer aLocalPolyPolygon = basegfx::tools::clipPolyPolygonOnPolyPolygon(aLocalPolyPolygon, maCurrentClipPolyPolygon, false, false); } - mpOutputDevice->DrawPolyPolygon(PolyPolygon(aLocalPolyPolygon)); + mpOutputDevice->DrawPolyPolygon(aLocalPolyPolygon); } // direct draw of MetaFile @@ -680,7 +680,7 @@ namespace drawinglayer VirtualDevice& rMask = aBufferDevice.getMask(); rMask.SetLineColor(); rMask.SetFillColor(COL_BLACK); - rMask.DrawPolyPolygon(PolyPolygon(aMask)); + rMask.DrawPolyPolygon(aMask); // dump buffer to outdev aBufferDevice.paint(); |