diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-22 15:29:27 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-22 15:41:55 +0000 |
commit | 231d5c7db8188d53c6aab441b7080d3fa1a01446 (patch) | |
tree | 01c46774d4650a283eb2cdc3a04ad4ca2f2931bd /include | |
parent | 3c1a343f6936f1dcefdf79a677f8c26ce29676e6 (diff) |
vcl: add orientation flag property to Font class
Add getter and setter for orientation flag to the Font class.
See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.
Unit test added to vcl/qa/cppunit/font.cxx to test this flag.
Change-Id: I62d5a47f870702eeac4625830dd279dd53fbcc3d
Reviewed-on: https://gerrit.libreoffice.org/21696
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/font.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index b728f87ec26c..87a9d8744f68 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -89,6 +89,7 @@ public: bool IsBuiltInFont() const; bool CanEmbed() const; bool CanSubset() const; + bool CanRotate() const; void SetQuality(int); void IncreaseQualityBy(int); @@ -98,6 +99,7 @@ public: void SetBuiltInFontFlag(bool); void SetEmbeddableFlag(bool); void SetSubsettableFlag(bool); + void SetOrientationFlag(bool); // setting the color on the font is obsolete, the only remaining // valid use is for keeping backward compatibility with old MetaFiles |