summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-28 12:32:19 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-04-28 16:29:56 +0200
commit424bdeda9fea09f0b48b5551baf872656845c7c3 (patch)
tree5ec62140bf0ccc00a7079a0af9cee71f4713818a /include
parenta2756bf71a304f2bb1bf49753dfd37a3402bc463 (diff)
Move all handling of AA allowing from svt to drawinglayer
Commit 444bf8710d5da7b584fbcb94693e4ed8d2e29297 (Update handling of AntiAliasing settings and processor2d, 2022-11-08) moved the actual variable holding the AA state to drawinglayer, which introduced a duplication of the information. This moves all the handling from svt to drawinglayer, so that svt functions only use respective drawinglayer functions. Well, almost: the IsAAPossibleOnThisSystem function needs vcl, so stays in svt. Change-Id: I887307fbca1ca0cff1f5f32446e3599817099c3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151163 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/drawinglayer/geometry/viewinformation2d.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drawinglayer/geometry/viewinformation2d.hxx b/include/drawinglayer/geometry/viewinformation2d.hxx
index e71ab08faead..8f1bd634fd58 100644
--- a/include/drawinglayer/geometry/viewinformation2d.hxx
+++ b/include/drawinglayer/geometry/viewinformation2d.hxx
@@ -159,7 +159,8 @@ public:
bool getPixelSnapHairline() const;
void setPixelSnapHairline(bool bNew);
- static void forwardAntiAliasing(bool bAntiAliasing);
+ static void setGlobalAntiAliasing(bool bAntiAliasing, bool bTemporary);
+ static bool getGlobalAntiAliasing();
static void forwardPixelSnapHairline(bool bPixelSnapHairline);
};