summaryrefslogtreecommitdiff
path: root/include/vcl/dibtools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-30 13:02:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 14:08:44 +0200
commitd4442ac1ac9aae36dbc08fda8154d71ea0f81708 (patch)
tree62fdc7419391dbf8c1cd92872ba2c9e12df2c4b6 /include/vcl/dibtools.hxx
parentb7939ff897a173086643819451c7b2b4553c11c3 (diff)
drop Graphic::GetBitmap
so that we flush out various code using Bitmap, in favour of using BitmapEx. This is part of the process of making Bitmap largely an internal detail of vcl Change-Id: Iaf2ead5e3d9960838723fb55b812b97108093d74 Reviewed-on: https://gerrit.libreoffice.org/55062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/dibtools.hxx')
-rw-r--r--include/vcl/dibtools.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/vcl/dibtools.hxx b/include/vcl/dibtools.hxx
index 02c356b5cca8..65d6b26f2340 100644
--- a/include/vcl/dibtools.hxx
+++ b/include/vcl/dibtools.hxx
@@ -54,16 +54,17 @@ bool VCL_DLLPUBLIC ReadDIBV5(
SvStream& rIStm);
-bool VCL_DLLPUBLIC WriteDIB( // WriteDIB(rBitmap, rOStm, false, true);
+bool VCL_DLLPUBLIC WriteDIB(
const Bitmap& rSource,
SvStream& rOStm,
bool bCompressed,
bool bFileHeader);
// compressed, with file header
-bool VCL_DLLPUBLIC WriteDIB( // WriteDIB(rBitmap, rOStm, false, true);
+bool VCL_DLLPUBLIC WriteDIB(
const BitmapEx& rSource,
- SvStream& rOStm);
+ SvStream& rOStm,
+ bool bCompressed = true);
bool VCL_DLLPUBLIC WriteDIBBitmapEx(
const BitmapEx& rSource,