diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-07-28 15:18:15 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-07-29 20:48:49 +0200 |
commit | ce2003a672c410e9cd47bb6580688eee57165d7c (patch) | |
tree | 02a3125a65f4d5d1c1449e4e70f6fe3e288a8b61 /include/svx | |
parent | f1436b235c02a4bfda001208cbe712c2b457acfa (diff) |
svx: manipulate SdrObject::m_aOutRect indirectly
Change-Id: I0d8a8e4df06595250c07a61181fbd76fe1da5662
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137571
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdobj.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 2e350c49b0f4..daf6cde70319 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -885,7 +885,13 @@ public: void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept; protected: - mutable tools::Rectangle m_aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...) + tools::Rectangle getOutRectangle() const; + void setOutRectangleConst(tools::Rectangle const& rRectangle) const; // need to do something about this + void setOutRectangle(tools::Rectangle const& rRectangle); + void resetOutRectangle(); + void moveOutRectangle(sal_Int32 nXDelta, sal_Int32 nYDelta); + + mutable tools::Rectangle m_aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...) Point m_aAnchor; // anchor position (Writer) SdrObjUserCall* m_pUserCall; std::unique_ptr<SdrObjPlusData> |