diff options
Diffstat (limited to 'sdext/source/presenter/PresenterCanvasHelper.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterCanvasHelper.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sdext/source/presenter/PresenterCanvasHelper.cxx b/sdext/source/presenter/PresenterCanvasHelper.cxx index ffc1d9923f2e..0bf9ceb5aba8 100644 --- a/sdext/source/presenter/PresenterCanvasHelper.cxx +++ b/sdext/source/presenter/PresenterCanvasHelper.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include "PresenterCanvasHelper.hxx" #include "PresenterController.hxx" @@ -136,9 +135,6 @@ void PresenterCanvasHelper::PaintRectangle ( } } - - - void PresenterCanvasHelper::PaintTiledBitmap ( const css::uno::Reference<css::rendering::XBitmap>& rxTexture, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, @@ -164,7 +160,6 @@ void PresenterCanvasHelper::PaintTiledBitmap ( // set. rendering::RenderState aRenderState (rDefaultRenderState); - // Tile the bitmap over the repaint box. const geometry::IntegerSize2D aBitmapSize (rxTexture->getSize()); const sal_Int32 nLeft = (rRepaintBox.X / aBitmapSize.Width) * aBitmapSize.Width; @@ -192,9 +187,6 @@ void PresenterCanvasHelper::PaintTiledBitmap ( } } - - - void PresenterCanvasHelper::PaintBitmap ( const css::uno::Reference<css::rendering::XBitmap>& rxBitmap, const awt::Point& rLocation, @@ -217,7 +209,6 @@ void PresenterCanvasHelper::PaintBitmap ( rendering::ViewState aViewState (rDefaultViewState); aViewState.Clip = PresenterGeometryHelper::CreatePolygon(rRepaintBox, rxCanvas->getDevice()); - // Setup the rendering state so that the bitmap is painted top left in // the polygon bounding box. rendering::RenderState aRenderState (rDefaultRenderState); @@ -230,9 +221,6 @@ void PresenterCanvasHelper::PaintBitmap ( aRenderState); } - - - void PresenterCanvasHelper::PaintColor ( const css::util::Color nColor, const css::uno::Reference<css::rendering::XCanvas>& rxCanvas, @@ -251,7 +239,6 @@ void PresenterCanvasHelper::PaintColor ( rendering::ViewState aViewState (rDefaultViewState); aViewState.Clip = PresenterGeometryHelper::CreatePolygon(rRepaintBox, rxCanvas->getDevice()); - // Setup the rendering state to use the given color. rendering::RenderState aRenderState (rDefaultRenderState); SetDeviceColor(aRenderState, nColor); @@ -262,9 +249,6 @@ void PresenterCanvasHelper::PaintColor ( aRenderState); } - - - void PresenterCanvasHelper::SetDeviceColor( rendering::RenderState& rRenderState, const util::Color aColor) @@ -281,9 +265,6 @@ void PresenterCanvasHelper::SetDeviceColor( } } - - - css::geometry::RealRectangle2D PresenterCanvasHelper::GetTextBoundingBox ( const css::uno::Reference<css::rendering::XCanvasFont>& rxFont, const ::rtl::OUString& rsText, @@ -302,9 +283,6 @@ css::geometry::RealRectangle2D PresenterCanvasHelper::GetTextBoundingBox ( } } - - - css::geometry::RealSize2D PresenterCanvasHelper::GetTextSize ( const css::uno::Reference<css::rendering::XCanvasFont>& rxFont, const ::rtl::OUString& rsText, @@ -314,7 +292,6 @@ css::geometry::RealSize2D PresenterCanvasHelper::GetTextSize ( return css::geometry::RealSize2D(aTextBBox.X2 - aTextBBox.X1, aTextBBox.Y2 - aTextBBox.Y1); } - } } // end of namespace sdext::presenter /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |