Kaydet (Commit) a393af6e authored tarafından Jordi Mallach's avatar Jordi Mallach Kaydeden (comit) Jesús Corrius

Remove unused method canvas::tools::clipBlit

üst 6577e56a
...@@ -337,26 +337,6 @@ namespace canvas ...@@ -337,26 +337,6 @@ namespace canvas
@return false, if the resulting blit is empty, i.e. fully @return false, if the resulting blit is empty, i.e. fully
clipped away. 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 ); CANVASTOOLS_DLLPUBLIC ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange );
/** Retrieve various internal properties of the actual canvas implementation. /** Retrieve various internal properties of the actual canvas implementation.
......
...@@ -794,18 +794,6 @@ namespace canvas ...@@ -794,18 +794,6 @@ namespace canvas
return true; 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 ) ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange )
{ {
if( rRange.isEmpty() ) if( rRange.isEmpty() )
......
...@@ -649,7 +649,6 @@ cairocanvas::CanvasHelper::getPalette() ...@@ -649,7 +649,6 @@ cairocanvas::CanvasHelper::getPalette()
cairocanvas::SpriteDeviceHelper::getSurface() cairocanvas::SpriteDeviceHelper::getSurface()
cairocanvas::TextLayout::draw(_cairo*) cairocanvas::TextLayout::draw(_cairo*)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) 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::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> > >&) cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&)
comphelper::OSelectionChangeListener::disposeAdapter() comphelper::OSelectionChangeListener::disposeAdapter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment