diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-20 20:47:19 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-20 11:40:01 +0000 |
commit | ab6f80909877f1e14de252c456dd2acd84c43974 (patch) | |
tree | 313139b1b1f7a155de4812cc23b25b597e6cc3fe /include | |
parent | e46baa9e04a7715f35b7a068dde6cbabc6dd4775 (diff) |
vcl: add more property functions to Font
Added increase and decrease quality functions to Font class, and
also charset mutator and accessor function.
See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.
Unit test change in vcl/qa/cppunit/font.cxx:
- enhanced to check increase and decrease quality functions
Change-Id: I2f5970438f6ef1ad185163d5fdcec5bbc88912a4
Reviewed-on: https://gerrit.libreoffice.org/21622
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-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 920f0698518e..19acdc6bc515 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -86,6 +86,8 @@ public: int GetQuality() const; void SetQuality(int); + void IncreaseQualityBy(int); + void DecreaseQualityBy(int); // setting the color on the font is obsolete, the only remaining // valid use is for keeping backward compatibility with old MetaFiles |