diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-08-25 18:16:38 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-09-10 09:52:21 +0200 |
commit | 9db1e85a8da3952cefef552853753342d7147b98 (patch) | |
tree | 33375a1642e3cdeb05d276cd8ab9a447945c6f97 /include/vcl/outdev.hxx | |
parent | af78873e2000e604c9de78280cbcfbfcf4c7e99b (diff) |
vcl: move OutputDevice drawmode functions to outdev.cxx
Ultimately I hope to reduce outdevstate.cxx to only have push(), pop()
and clearstack(), then rename outdevstate.cxx to stack.cxx. Eventually,
the plan is to separate metafile processing from rendering.
Add unit test for GetDrawMode() and SetDrawMode().
Change-Id: I63948e7e4c332c786487c18c52faa60893f672a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121021
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r-- | include/vcl/outdev.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index a80b49c2239b..8fa546b20b60 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -480,7 +480,7 @@ public: AntialiasingFlags GetAntialiasing() const { return mnAntialiasing; } void SetDrawMode( DrawModeFlags nDrawMode ); - DrawModeFlags GetDrawMode() const; + DrawModeFlags GetDrawMode() const { return mnDrawMode; } void SetLayoutMode( ComplexTextLayoutFlags nTextLayoutMode ); ComplexTextLayoutFlags GetLayoutMode() const { return mnTextLayoutMode; } |