diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-13 14:05:44 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-14 08:53:33 +0200 |
commit | 4d8262cab5537409a8cdf0b33b6d4703f7b27c9a (patch) | |
tree | 3dc4b6a68028b5398e1661e5b02cc76cc82477d2 /include | |
parent | d3a0c1b5d6e310d0e1ff8ffe28bb3028775813d0 (diff) |
Add Handler for Hatch Read
The handler separates MetaHatchActions::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: If231710b3ed776fd5ee8f63d706d8a8b3edaa5d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118836
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/SvmReader.hxx | 1 | ||||
-rw-r--r-- | include/vcl/metaact.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index 1bd6628bb165..d075955db479 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -67,6 +67,7 @@ public: rtl::Reference<MetaAction> MaskScalePartHandler(); rtl::Reference<MetaAction> GradientHandler(); rtl::Reference<MetaAction> GradientExHandler(); + rtl::Reference<MetaAction> HatchHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 28470520fe09..ccca055522df 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1131,6 +1131,8 @@ public: const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; } const Hatch& GetHatch() const { return maHatch; } + void SetPolyPolygon(tools::PolyPolygon& rPolyPoly) { maPolyPoly = rPolyPoly; } + void SetHatch(Hatch& rHatch) { maHatch = rHatch; } }; class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaWallpaperAction final : public MetaAction |