diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 08:15:40 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 08:15:40 +1100 |
commit | a5bc28e073c2dd1eb8ad733687dc827e6bac31bd (patch) | |
tree | d9e35aa7471acbc4fc449e94d0b4f14fe21059c9 /include | |
parent | 23acda53f70857cac41fc2c877441f91e592d2d0 (diff) |
vcl: Create mutator for line height attribute in FontMetric
Mutator created for line height in attribute 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 line height attribute
- check equality operator on FontMetric after setting line height
attribute
Change-Id: I86dff217fa24850b5f9d04a17ddda464dfb0156a
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 0a7d0e62a406..e4e666170fea 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -58,6 +58,7 @@ public: void SetDescent(long); void SetExternalLeading(long); void SetInternalLeading(long); + void SetLineHeight(long); bool IsScalable() const; bool IsFullstopCentered() const; |