diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-08-07 13:31:50 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-08-15 08:09:55 +0200 |
commit | df19cc6cddc794eb6e289831707e690bd01eb227 (patch) | |
tree | 7560477330efacabfb0de4f37de9f332c70972de /include | |
parent | dda85e275d70d6365009042b8e207337f2e712c2 (diff) |
vcl: add "fillWithData" function to BitmapTools - used in lok
Change-Id: Ia143a39d2285bbdebf7fcfe709b0c6418d35585c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171589
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
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 83c003296d61..5e5a48ad6fae 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -55,6 +55,8 @@ BitmapEx VCL_DLLPUBLIC CreateFromData(sal_uInt8 const *pData, sal_Int8 nBitsPerPixel, bool bReversColors = false, bool bReverseAlpha = false); +void VCL_DLLPUBLIC fillWithData(sal_uInt8* pData, BitmapEx const& rBitmapEx); + BitmapEx VCL_DLLPUBLIC CreateFromData( RawBitmap && data ); #if ENABLE_CAIRO_CANVAS |