diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 15:40:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-19 07:36:28 +0100 |
commit | 09cf2f4242250ac8d1ec6440c46dc85ba1a8dc09 (patch) | |
tree | bd5d8a73eccd3f765c75da2fe0fdfb2e8000b13e /include | |
parent | 62275a93e3b13a20aa1de7945a32a0d25582c1ca (diff) |
move bitmap copy code from CanvasBitmapHelper to vcl
part of making GetAlpha/GetMask an internal detail of vcl
Change-Id: Ie1740df3d6435d9f0f2de3297e7f224d2c6b3cc5
Reviewed-on: https://gerrit.libreoffice.org/51436
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/BitmapTools.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx index 9c347d275f4b..43f0d07579f7 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -104,6 +104,8 @@ VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > GetMaskDIB(BitmapEx const & aBmpEx) **/ VCL_DLLPUBLIC void CanvasCairoExtractBitmapData( BitmapEx & rBmpEx, Bitmap & rBitmap, unsigned char*& data, bool& bHasAlpha ); +VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > CanvasExtractBitmapData(BitmapEx & rBitmapEx, const css::geometry::IntegerRectangle2D& rect); + }} // end vcl::bitmap #endif // INCLUDED_VCL_BITMAP_TOOLS_HXX |