diff options
author | Jordi Mallach <jordi@sindominio.net> | 2012-05-03 17:01:40 +0200 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2012-05-03 17:01:40 +0200 |
commit | a393af6e9146596ba2a197f0e369775bda7faa51 (patch) | |
tree | 3cc8da8b556e7309e0e72fe865ac60e9f26870c6 | |
parent | 6577e56a9cfd946d7382c87995d35b8c47776698 (diff) |
Remove unused method canvas::tools::clipBlit
-rw-r--r-- | canvas/inc/canvas/canvastools.hxx | 20 | ||||
-rw-r--r-- | canvas/source/tools/canvastools.cxx | 12 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 33 deletions
diff --git a/canvas/inc/canvas/canvastools.hxx b/canvas/inc/canvas/canvastools.hxx index 1605b6628d68..87268ab8d7a0 100644 --- a/canvas/inc/canvas/canvastools.hxx +++ b/canvas/inc/canvas/canvastools.hxx @@ -337,26 +337,6 @@ namespace canvas @return false, if the resulting blit is empty, i.e. fully clipped away. */ - CANVASTOOLS_DLLPUBLIC bool clipBlit( ::basegfx::B2IRange& io_rSourceArea, - ::basegfx::B2IPoint& io_rDestPoint, - const ::basegfx::B2IRange& rSourceBounds, - const ::basegfx::B2IRange& rDestBounds ); - - /** Return range of integer pixel, which will cover the sprite - given by the floating point range. - - This method assumes that sprite sizes are always integer, - and that the sprite position (top, left edge of the - sprite) is rounded to the nearest integer before - rendering. - - @param rRange - Input range. Values must be within the representable - bounds of sal_Int32 - - @return the integer range, which is covered by the sprite - given by rRange. - */ CANVASTOOLS_DLLPUBLIC ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange ); /** Retrieve various internal properties of the actual canvas implementation. diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx index 4a55ad55a60b..d5220fdcca9c 100644 --- a/canvas/source/tools/canvastools.cxx +++ b/canvas/source/tools/canvastools.cxx @@ -794,18 +794,6 @@ namespace canvas return true; } - bool clipBlit( ::basegfx::B2IRange& io_rSourceArea, - ::basegfx::B2IPoint& io_rDestPoint, - const ::basegfx::B2IRange& rSourceBounds, - const ::basegfx::B2IRange& rDestBounds ) - { - return clipAreaImpl( NULL, - io_rSourceArea, - io_rDestPoint, - rSourceBounds, - rDestBounds ); - } - ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange ) { if( rRange.isEmpty() ) diff --git a/unusedcode.easy b/unusedcode.easy index 00cd6fae91a7..bd03a585cc07 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -649,7 +649,6 @@ cairocanvas::CanvasHelper::getPalette() cairocanvas::SpriteDeviceHelper::getSurface() cairocanvas::TextLayout::draw(_cairo*) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) -canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRange const&, basegfx::B2IRange const&) cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) comphelper::OSelectionChangeListener::disposeAdapter() |