diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-05-30 09:08:27 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-05-30 09:08:27 +0000 |
commit | c297d383ca2740f3c78c19f044531310861908ce (patch) | |
tree | 03559a913dc79693220858525396efc97fdcf12c | |
parent | 0f1d9bfc3e1bc6917f83ca426e83f5d66a336cf2 (diff) |
INTEGRATION: CWS aquabmpfix01 (1.5.28); FILE MERGED
2008/05/13 14:03:26 hdu 1.5.28.1: #100000# remove compile warnings
-rw-r--r-- | vcl/unx/headless/svpgdi.cxx | 20 | ||||
-rw-r--r-- | vcl/unx/headless/svpgdi.hxx | 5 | ||||
-rw-r--r-- | vcl/unx/headless/svppspgraphics.hxx | 5 |
3 files changed, 27 insertions, 3 deletions
diff --git a/vcl/unx/headless/svpgdi.cxx b/vcl/unx/headless/svpgdi.cxx index 70e3e86ef20b..056def79d546 100644 --- a/vcl/unx/headless/svpgdi.cxx +++ b/vcl/unx/headless/svpgdi.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svpgdi.cxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.6 $ * * This file is part of OpenOffice.org. * @@ -191,6 +191,12 @@ BOOL SvpSalGraphics::unionClipRegion( long nX, long nY, long nWidth, long nHeigh return TRUE; } +bool SvpSalGraphics::unionClipRegion( const ::basegfx::B2DPolyPolygon& ) +{ + // TODO: implement and advertise OutDevSupport_B2DClip support + return false; +} + void SvpSalGraphics::EndSetClipRegion() { } @@ -383,6 +389,18 @@ void SvpSalGraphics::drawPolyPolygon( sal_uInt32 nPoly, dbgOut( m_aDevice ); } +bool SvpSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon&, double /*fTransparency*/ ) +{ + // TODO: implement and advertise OutDevSupport_B2DDraw support + return false; +} + +bool SvpSalGraphics::drawPolyLine( const ::basegfx::B2DPolygon&, const ::basegfx::B2DVector& /*rLineWidths*/ ) +{ + // TODO: implement and advertise OutDevSupport_B2DDraw support + return false; +} + sal_Bool SvpSalGraphics::drawPolyLineBezier( ULONG, const SalPoint*, const BYTE* ) diff --git a/vcl/unx/headless/svpgdi.hxx b/vcl/unx/headless/svpgdi.hxx index dba86eae198a..7530e218cdb1 100644 --- a/vcl/unx/headless/svpgdi.hxx +++ b/vcl/unx/headless/svpgdi.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svpgdi.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.6 $ * * This file is part of OpenOffice.org. * @@ -74,6 +74,7 @@ public: virtual void ResetClipRegion(); virtual void BeginSetClipRegion( ULONG nCount ); virtual BOOL unionClipRegion( long nX, long nY, long nWidth, long nHeight ); + virtual bool unionClipRegion( const ::basegfx::B2DPolyPolygon& ); virtual void EndSetClipRegion(); virtual void SetLineColor(); @@ -123,6 +124,8 @@ public: virtual void drawPixel( long nX, long nY, SalColor nSalColor ); virtual void drawLine( long nX1, long nY1, long nX2, long nY2 ); virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); + virtual bool drawPolyPolygon( const ::basegfx::B2DPolyPolygon&, double fTransparency ); + virtual bool drawPolyLine( const ::basegfx::B2DPolygon&, const ::basegfx::B2DVector& rLineWidths ); virtual void drawPolyLine( ULONG nPoints, const SalPoint* pPtAry ); virtual void drawPolygon( ULONG nPoints, const SalPoint* pPtAry ); virtual void drawPolyPolygon( sal_uInt32 nPoly, diff --git a/vcl/unx/headless/svppspgraphics.hxx b/vcl/unx/headless/svppspgraphics.hxx index c54076b3e05b..3cd7e7f6911e 100644 --- a/vcl/unx/headless/svppspgraphics.hxx +++ b/vcl/unx/headless/svppspgraphics.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svppspgraphics.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.6 $ * * This file is part of OpenOffice.org. * @@ -105,6 +105,7 @@ public: virtual void ResetClipRegion(); virtual void BeginSetClipRegion( ULONG nCount ); virtual BOOL unionClipRegion( long nX, long nY, long nWidth, long nHeight ); + virtual bool unionClipRegion( const ::basegfx::B2DPolyPolygon& ); virtual void EndSetClipRegion(); virtual void SetLineColor(); @@ -153,6 +154,8 @@ public: virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); virtual void drawPolyLine( ULONG nPoints, const SalPoint* pPtAry ); virtual void drawPolygon( ULONG nPoints, const SalPoint* pPtAry ); + virtual bool drawPolyPolygon( const ::basegfx::B2DPolyPolygon&, double fTransparency ); + virtual bool drawPolyLine( const ::basegfx::B2DPolygon&, const ::basegfx::B2DVector& rLineWidths ); virtual void drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ); |