diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-15 11:17:08 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-27 08:02:55 +0200 |
commit | ffd64889f3cad4fc64d733f5ad08a5c072de7ec6 (patch) | |
tree | 10afe9922ead197da5a1653a888b13920419efef /include | |
parent | 0ea2f9a1b33b446069935913c2b3c846d79b52de (diff) |
Add Handler for FloatTransparent Read
The handler separates MetaFloatTransparentAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: Ie19d33570daec5a5ec34ba015cf83bffb18d250b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119171
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/SvmReader.hxx | 1 | ||||
-rw-r--r-- | include/vcl/metaact.hxx | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index d1ee96872490..ca8b9008a733 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -84,6 +84,7 @@ public: rtl::Reference<MetaAction> PopHandler(); rtl::Reference<MetaAction> RasterOpHandler(); rtl::Reference<MetaAction> TransparentHandler(); + rtl::Reference<MetaAction> FloatTransparentHandler(ImplMetaReadData* pData); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 9de35c7ac271..fabe6f7c750a 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1689,6 +1689,10 @@ public: const Point& GetPoint() const { return maPoint; } const Size& GetSize() const { return maSize; } const Gradient& GetGradient() const { return maGradient; } + void SetGDIMetaFile(const GDIMetaFile &rMtf) { maMtf = rMtf; } + void SetPoint(const Point& rPoint) { maPoint = rPoint; } + void SetSize(const Size& rSize) { maSize = rSize; } + void SetGradient(const Gradient& rGradient) { maGradient = rGradient; } bool IsTransparent() const override { return true; } }; |