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 /canvas | |
parent | 6577e56a9cfd946d7382c87995d35b8c47776698 (diff) |
Remove unused method canvas::tools::clipBlit
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/inc/canvas/canvastools.hxx | 20 | ||||
-rw-r--r-- | canvas/source/tools/canvastools.cxx | 12 |
2 files changed, 0 insertions, 32 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() ) |