#i75669# get rid of conversion of B2D->tools polygons since VCL can handle them directly now
This commit is contained in:
parent
e96f0b67ca
commit
8ac4383eb3
2 changed files with 12 additions and 12 deletions
|
@ -4,9 +4,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: vclhelpergradient.cxx,v $
|
* $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 Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
|
@ -110,12 +110,12 @@ namespace drawinglayer
|
||||||
{
|
{
|
||||||
basegfx::B2DPolygon aNewPoly(rUnitPolygon);
|
basegfx::B2DPolygon aNewPoly(rUnitPolygon);
|
||||||
aNewPoly.transform(rMatrices[a - 1L]);
|
aNewPoly.transform(rMatrices[a - 1L]);
|
||||||
rOutDev.DrawPolygon(Polygon(aNewPoly));
|
rOutDev.DrawPolygon(aNewPoly);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rOutDev.DrawPolyPolygon(PolyPolygon(rTargetForm));
|
rOutDev.DrawPolyPolygon(rTargetForm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: vclprocessor2d.cxx,v $
|
* $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 Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* 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++)
|
for(sal_uInt32 a(0L); a < aClippedPolyPolygon.count(); a++)
|
||||||
{
|
{
|
||||||
const basegfx::B2DPolygon aClippedPolygon(aClippedPolyPolygon.getB2DPolygon(a));
|
const basegfx::B2DPolygon aClippedPolygon(aClippedPolyPolygon.getB2DPolygon(a));
|
||||||
mpOutputDevice->DrawPolyLine(Polygon(aClippedPolygon));
|
mpOutputDevice->DrawPolyLine(aClippedPolygon,0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mpOutputDevice->DrawPolyLine(Polygon(aLocalPolygon));
|
mpOutputDevice->DrawPolyLine(aLocalPolygon,0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -352,7 +352,7 @@ namespace drawinglayer
|
||||||
|
|
||||||
mpOutputDevice->SetFillColor(Color(aModifiedColor));
|
mpOutputDevice->SetFillColor(Color(aModifiedColor));
|
||||||
mpOutputDevice->SetLineColor();
|
mpOutputDevice->SetLineColor();
|
||||||
mpOutputDevice->DrawPolygon(Polygon(aPolygon));
|
mpOutputDevice->DrawPolygon(aPolygon);
|
||||||
|
|
||||||
bPainted = true;
|
bPainted = true;
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,7 @@ namespace drawinglayer
|
||||||
|
|
||||||
mpOutputDevice->SetFillColor(Color(aModifiedColor));
|
mpOutputDevice->SetFillColor(Color(aModifiedColor));
|
||||||
mpOutputDevice->SetLineColor();
|
mpOutputDevice->SetLineColor();
|
||||||
mpOutputDevice->DrawPolygon(Polygon(aPolygon));
|
mpOutputDevice->DrawPolygon(aPolygon);
|
||||||
|
|
||||||
bPainted = true;
|
bPainted = true;
|
||||||
}
|
}
|
||||||
|
@ -574,7 +574,7 @@ namespace drawinglayer
|
||||||
aLocalPolyPolygon = basegfx::tools::clipPolyPolygonOnPolyPolygon(aLocalPolyPolygon, maCurrentClipPolyPolygon, false, false);
|
aLocalPolyPolygon = basegfx::tools::clipPolyPolygonOnPolyPolygon(aLocalPolyPolygon, maCurrentClipPolyPolygon, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
mpOutputDevice->DrawPolyPolygon(PolyPolygon(aLocalPolyPolygon));
|
mpOutputDevice->DrawPolyPolygon(aLocalPolyPolygon);
|
||||||
}
|
}
|
||||||
|
|
||||||
// direct draw of MetaFile
|
// direct draw of MetaFile
|
||||||
|
@ -680,7 +680,7 @@ namespace drawinglayer
|
||||||
VirtualDevice& rMask = aBufferDevice.getMask();
|
VirtualDevice& rMask = aBufferDevice.getMask();
|
||||||
rMask.SetLineColor();
|
rMask.SetLineColor();
|
||||||
rMask.SetFillColor(COL_BLACK);
|
rMask.SetFillColor(COL_BLACK);
|
||||||
rMask.DrawPolyPolygon(PolyPolygon(aMask));
|
rMask.DrawPolyPolygon(aMask);
|
||||||
|
|
||||||
// dump buffer to outdev
|
// dump buffer to outdev
|
||||||
aBufferDevice.paint();
|
aBufferDevice.paint();
|
||||||
|
|
Loading…
Reference in a new issue