summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/salgdilayout.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-05-30 09:07:08 +0000
committerOliver Bolte <obo@openoffice.org>2008-05-30 09:07:08 +0000
commitee2aee537f9133af63b8fd80d7486713593bddad (patch)
tree124e4430c36a6740dbbcb71da1a1c7e58ffd83e8 /vcl/source/gdi/salgdilayout.cxx
parent5108065354eca4cda4eed93263815283e875f644 (diff)
INTEGRATION: CWS aquabmpfix01 (1.28.220); FILE MERGED
2008/05/09 12:59:58 hdu 1.28.220.4: #100000# remove compile warnings 2008/05/09 11:08:04 hdu 1.28.220.3: RESYNC: (1.28-1.29); FILE MERGED 2008/05/09 10:29:45 hdu 1.28.220.2: #i88759# use b2d polygon drawing if possible 2008/05/05 09:03:02 hdu 1.28.220.1: #i88795# add SalGraphics::UnionClipRegion(B2D)
Diffstat (limited to 'vcl/source/gdi/salgdilayout.cxx')
-rw-r--r--vcl/source/gdi/salgdilayout.cxx31
1 files changed, 30 insertions, 1 deletions
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx
index 10b9bed35b7b..d892c9962e18 100644
--- a/vcl/source/gdi/salgdilayout.cxx
+++ b/vcl/source/gdi/salgdilayout.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salgdilayout.cxx,v $
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
* This file is part of OpenOffice.org.
*
@@ -257,6 +257,17 @@ BOOL SalGraphics::UnionClipRegion( long nX, long nY, long nWidth, long nHeigh
return unionClipRegion( nX, nY, nWidth, nHeight );
}
+bool SalGraphics::unionClipRegion( const ::basegfx::B2DPolyPolygon& )
+{
+ return false;
+}
+
+BOOL SalGraphics::UnionClipRegion( const ::basegfx::B2DPolyPolygon& rPoly, const OutputDevice* pOutDev )
+{
+ (void)pOutDev;// TODO: SAL_LAYOUT_BIDI_RTL
+ return unionClipRegion( rPoly );
+}
+
void SalGraphics::DrawPixel( long nX, long nY, const OutputDevice *pOutDev )
{
if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) )
@@ -331,6 +342,24 @@ void SalGraphics::DrawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoint
else
drawPolyPolygon( nPoly, pPoints, pPtAry );
}
+bool SalGraphics::DrawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPolygon, double fTransparency, const OutputDevice* )
+{
+ DBG_ASSERT( !(m_nLayout & SAL_LAYOUT_BIDI_RTL), "DrawPolyPolygon - no mirroring implemented");
+ return drawPolyPolygon( rPolyPolygon, fTransparency );
+}
+bool SalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon&, double )
+{
+ return false;
+}
+bool SalGraphics::DrawPolyLine( const ::basegfx::B2DPolygon& rPolyLine, const ::basegfx::B2DVector& rLineWidths, const OutputDevice* )
+{
+ DBG_ASSERT( !(m_nLayout & SAL_LAYOUT_BIDI_RTL), "DrawPolyLine - no mirroring implemented");
+ return drawPolyLine( rPolyLine, rLineWidths );
+}
+bool SalGraphics::drawPolyLine( const ::basegfx::B2DPolygon&, const ::basegfx::B2DVector& )
+{
+ return false;
+}
sal_Bool SalGraphics::DrawPolyLineBezier( ULONG nPoints, const SalPoint* pPtAry, const BYTE* pFlgAry, const OutputDevice* )
{
DBG_ASSERT( !(m_nLayout & SAL_LAYOUT_BIDI_RTL), "DrawPolyLineBezier - no mirroring implemented");