diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-05 10:56:36 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-08 08:54:49 +0200 |
commit | 082554ee94e61008c75595c45bdcf01af989241a (patch) | |
tree | 9958971095e398201d24fc47f11aeddd1b148bd8 /include | |
parent | e21558852131de5c6721264edd274ebbc6c72973 (diff) |
Add Hanlder for MetaLine Read
The handler separates the MetaLineAction::Read from the metaact.hxx
Read Implementation is now in SvmReader.hxx
Change-Id: I27bfcc4323e8d351e8277898334fc623d6a53dd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118403
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 | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index c62aff4355d1..6a134424a9c5 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -42,6 +42,7 @@ public: rtl::Reference<MetaAction> RectHandler(); rtl::Reference<MetaAction> PointHandler(); rtl::Reference<MetaAction> PixelHandler(); + rtl::Reference<MetaAction> LineHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index a2c0a1a9f67e..d433b5f3dc81 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -191,6 +191,9 @@ public: const Point& GetStartPoint() const { return maStartPt; } const Point& GetEndPoint() const { return maEndPt; } const LineInfo& GetLineInfo() const { return maLineInfo; } + void SetStartPoint(Point& rPoint) { maStartPt = rPoint; } + void SetEndPoint(Point& rPoint) { maEndPt = rPoint; } + void SetLineInfo(LineInfo& rLineInfo) { maLineInfo = rLineInfo; } }; class VCL_DLLPUBLIC MetaRectAction final : public MetaAction |