summaryrefslogtreecommitdiff
path: root/cppcanvas/source/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 16:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-05 09:39:22 +0000
commit403c13487c36f4200adf0986c5d11398f719cd7a (patch)
tree21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /cppcanvas/source/tools
parent10560949f90e08fe4a04dd91c7d388c4998100e8 (diff)
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppcanvas/source/tools')
-rw-r--r--cppcanvas/source/tools/canvasgraphichelper.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index 43231ed347d5..e766cc451d65 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -64,13 +64,6 @@ namespace cppcanvas
::canvas::tools::setRenderStateTransform( maRenderState, rMatrix );
}
- ::basegfx::B2DHomMatrix CanvasGraphicHelper::getTransformation() const
- {
- ::basegfx::B2DHomMatrix aMatrix;
- return ::canvas::tools::getRenderStateTransform( aMatrix,
- maRenderState );
- }
-
void CanvasGraphicHelper::setClip( const ::basegfx::B2DPolyPolygon& rClipPoly )
{
// TODO(T3): not thread-safe. B2DPolyPolygon employs copy-on-write
@@ -84,11 +77,6 @@ namespace cppcanvas
maRenderState.Clip.clear();
}
- ::basegfx::B2DPolyPolygon const* CanvasGraphicHelper::getClip() const
- {
- return !maClipPolyPolygon ? NULL : &(*maClipPolyPolygon);
- }
-
const rendering::RenderState& CanvasGraphicHelper::getRenderState() const
{
if( maClipPolyPolygon && !maRenderState.Clip.is() )
@@ -110,13 +98,6 @@ namespace cppcanvas
maRenderState.CompositeOperation = (sal_Int8)aOp;
}
- CanvasGraphic::CompositeOp CanvasGraphicHelper::getCompositeOp() const
- {
- return static_cast<CompositeOp>(maRenderState.CompositeOperation);
- }
-
-
-
}
}