diff options
Diffstat (limited to 'cppcanvas/source/wrapper/implpolypolygon.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/implpolypolygon.cxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/cppcanvas/source/wrapper/implpolypolygon.cxx b/cppcanvas/source/wrapper/implpolypolygon.cxx index 927377811c42..ed0c4dbd5a89 100644 --- a/cppcanvas/source/wrapper/implpolypolygon.cxx +++ b/cppcanvas/source/wrapper/implpolypolygon.cxx @@ -62,50 +62,6 @@ namespace cppcanvas { } - void ImplPolyPolygon::addPolygon( const ::basegfx::B2DPolygon& rPoly ) - { - OSL_ENSURE( mxPolyPoly.is(), - "ImplPolyPolygon::addPolygon(): Invalid polygon" ); - - if( !mxPolyPoly.is() ) - return; - - uno::Reference< rendering::XGraphicDevice > xDevice( getGraphicDevice() ); - - OSL_ENSURE( xDevice.is(), - "ImplPolyPolygon::addPolygon(): Invalid graphic device" ); - - if( !xDevice.is() ) - return; - - mxPolyPoly->addPolyPolygon( geometry::RealPoint2D(0.0, 0.0), - ::basegfx::unotools::xPolyPolygonFromB2DPolygon( - xDevice, - rPoly) ); - } - - void ImplPolyPolygon::addPolyPolygon( const ::basegfx::B2DPolyPolygon& rPoly ) - { - OSL_ENSURE( mxPolyPoly.is(), - "ImplPolyPolygon::addPolyPolygon(): Invalid polygon" ); - - if( !mxPolyPoly.is() ) - return; - - uno::Reference< rendering::XGraphicDevice > xDevice( getGraphicDevice() ); - - OSL_ENSURE( xDevice.is(), - "ImplPolyPolygon::addPolyPolygon(): Invalid graphic device" ); - - if( !xDevice.is() ) - return; - - mxPolyPoly->addPolyPolygon( geometry::RealPoint2D(0.0, 0.0), - ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( - xDevice, - rPoly) ); - } - void ImplPolyPolygon::setRGBAFillColor( Color::IntSRGBA aColor ) { maFillColor = tools::intSRGBAToDoubleSequence( getGraphicDevice(), @@ -120,12 +76,6 @@ namespace cppcanvas mbStrokeColorSet = true; } - Color::IntSRGBA ImplPolyPolygon::getRGBAFillColor() const - { - return tools::doubleSequenceToIntSRGBA( getGraphicDevice(), - maFillColor ); - } - Color::IntSRGBA ImplPolyPolygon::getRGBALineColor() const { return tools::doubleSequenceToIntSRGBA( getGraphicDevice(), |