summaryrefslogtreecommitdiff
path: root/include/editeng/editeng.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-04-01 20:12:09 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-04-02 05:48:41 +0200
commit4bdbf0f898e8642b0a34195537d1516cc8eee819 (patch)
treec3227c1785873f4579f73c89f0e9f74e7b7a0292 /include/editeng/editeng.hxx
parent6027c219444ade7274841a5ba45e62bdc1ea3238 (diff)
editeng: combine scaling parameters into ScalingParameters struct
This makes dealing with scaling parameters much clearer and it improves readability. Change-Id: I327b6530ef5587972cc0075390704754a33563a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165632 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r--include/editeng/editeng.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 03c8b281c1fa..263a0931dff8 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -416,12 +416,9 @@ public:
void QuickDelete( const ESelection& rSel );
SAL_DLLPRIVATE void QuickMarkToBeRepainted( sal_Int32 nPara );
- SAL_DLLPRIVATE void setGlobalScale(double fFontScaleX, double fFontScaleY, double fSpacingScaleX, double fSpacingScaleY);
-
- SAL_DLLPRIVATE void getGlobalSpacingScale(double& rX, double& rY) const;
- basegfx::B2DTuple getGlobalSpacingScale() const;
- SAL_DLLPRIVATE void getGlobalFontScale(double& rX, double& rY) const;
- basegfx::B2DTuple getGlobalFontScale() const;
+ void setScalingParameters(ScalingParameters const& rScalingParameters);
+ void resetScalingParameters();
+ ScalingParameters getScalingParameters() const;
SAL_DLLPRIVATE void setRoundFontSizeToPt(bool bRound);