diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 08:51:33 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 08:51:33 +1100 |
commit | 71d5ffba4434538e7897b288ddfa2e0a6df03dd2 (patch) | |
tree | 9039975fb6b839a365e487cc869110ab32aad6c3 /include | |
parent | d9c20d142539b53b052937274efd2e576d0712ec (diff) |
vcl: Create mutator for slant attribute in FontMetric
Mutator created for slant attribute in FontMetric.
See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.
Unit tests
- check to ensure that can get and set slant attribute
- check equality operator on FontMetric after setting slant attribute
Change-Id: I5490a40dba4c86386d59a42f2d04303b3fc4d536
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/metric.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index e4e666170fea..f2b84b2f3a6e 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -59,6 +59,7 @@ public: void SetExternalLeading(long); void SetInternalLeading(long); void SetLineHeight(long); + void SetSlant(long); bool IsScalable() const; bool IsFullstopCentered() const; |