summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 11:20:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 14:37:40 +0100
commitb90e098a354323b635bab3ee8f9c79deb1e734fe (patch)
tree7d5636a991b8553995e57e0e616e4c0dbea72b4b /include
parent95fab7cbf2f0576d0f728bed8898b7ff769d90e6 (diff)
use BitmapEx in LwpBackgroundStuff
part of making Bitmap an implementation detail of vcl/ Change-Id: I847a2371cd630637b11aed0fad7263809143c706 Reviewed-on: https://gerrit.libreoffice.org/49705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/xbitmap.hxx4
-rw-r--r--include/vcl/dibtools.hxx6
2 files changed, 8 insertions, 2 deletions
diff --git a/include/svx/xbitmap.hxx b/include/svx/xbitmap.hxx
index d5ff0f7eb9e1..e062a0aebc5a 100644
--- a/include/svx/xbitmap.hxx
+++ b/include/svx/xbitmap.hxx
@@ -43,7 +43,7 @@ private:
public:
- XOBitmap( const Bitmap& rBitmap );
+ XOBitmap( const BitmapEx& rBitmap );
~XOBitmap();
void Bitmap2Array();
@@ -52,7 +52,7 @@ public:
void SetPixelColor( const Color& rColor ) { aPixelColor = rColor; bGraphicDirty = true; }
void SetBackgroundColor( const Color& rColor ) { aBckgrColor = rColor; bGraphicDirty = true; }
- Bitmap GetBitmap() const;
+ BitmapEx GetBitmap() const;
const Color& GetBackgroundColor() const { return aBckgrColor; }
};
diff --git a/include/vcl/dibtools.hxx b/include/vcl/dibtools.hxx
index 75618ad609d7..f56ee96bd4e4 100644
--- a/include/vcl/dibtools.hxx
+++ b/include/vcl/dibtools.hxx
@@ -60,6 +60,12 @@ bool VCL_DLLPUBLIC WriteDIB( // WriteDIB(rBitmap, rOStm, false, true);
bool bCompressed,
bool bFileHeader);
+bool VCL_DLLPUBLIC WriteDIB( // WriteDIB(rBitmap, rOStm, false, true);
+ const BitmapEx& rSource,
+ SvStream& rOStm,
+ bool bCompressed,
+ bool bFileHeader);
+
bool VCL_DLLPUBLIC WriteDIBBitmapEx(
const BitmapEx& rSource,
SvStream& rOStm);