summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editeng.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 5b70a2c2288b..d263363253e1 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2275,11 +2275,27 @@ void EditEngine::getGlobalSpacingScale(double& rX, double& rY) const
pImpEditEngine->getSpacingScale(rX, rY);
}
+basegfx::B2DTuple EditEngine::getGlobalSpacingScale() const
+{
+ double x = 0.0;
+ double y = 0.0;
+ pImpEditEngine->getSpacingScale(x, y);
+ return {x, y};
+}
+
void EditEngine::getGlobalFontScale(double& rX, double& rY) const
{
pImpEditEngine->getFontScale(rX, rY);
}
+basegfx::B2DTuple EditEngine::getGlobalFontScale() const
+{
+ double x = 0.0;
+ double y = 0.0;
+ pImpEditEngine->getFontScale(x, y);
+ return {x, y};
+}
+
void EditEngine::setRoundFontSizeToPt(bool bRound) const
{
pImpEditEngine->setRoundToNearestPt(bRound);