summaryrefslogtreecommitdiff
path: root/include/vcl/metaact.hxx
diff options
context:
space:
mode:
authorpanoskorovesis <panoskorovesis@outlook.com>2021-07-09 14:17:38 +0300
committerTomaž Vajngerl <quikee@gmail.com>2021-07-10 00:41:31 +0200
commit4146be28450c77159ae8c7f8d4d7f471756ec14c (patch)
treee8e538b1eb8750bc0441dfa5f9d2801bf8b58ffc /include/vcl/metaact.hxx
parentfa17410b7cad394254818ca0dfcd92673fb642d0 (diff)
Add Handler for BmpExScalePart Read
The handler separates MetaBmpExScalePartAction::Read from metaact.hxx Read implementation is now in SvmReader.hxx Change-Id: I22f7cec1873dedfce16ec6ea597b5113089e8ec0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118677 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/metaact.hxx')
-rw-r--r--include/vcl/metaact.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index b71c59b5144f..c59257433daa 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -909,6 +909,11 @@ public:
const Size& GetDestSize() const { return maDstSz; }
const Point& GetSrcPoint() const { return maSrcPt; }
const Size& GetSrcSize() const { return maSrcSz; }
+ void SetBitmapEx(BitmapEx& rBmpEx) { maBmpEx = rBmpEx; }
+ void SetDestPoint(Point& rDstPt) { maDstPt = rDstPt; }
+ void SetDestSize(Size& rDstSz) { maDstSz = rDstSz; }
+ void SetSrcPoint(Point& rSrcPt) { maSrcPt = rSrcPt; }
+ void SetSrcSize(Size& rSrcSz) { maSrcSz = rSrcSz; }
bool IsTransparent() const override { return GetBitmapEx().IsAlpha(); }
};