summaryrefslogtreecommitdiffstats
path: root/include/vcl/metric.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 08:51:33 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 08:51:33 +1100
commit71d5ffba4434538e7897b288ddfa2e0a6df03dd2 (patch)
tree9039975fb6b839a365e487cc869110ab32aad6c3 /include/vcl/metric.hxx
parentvcl: (workbench) check error status of socket writes (diff)
downloadcore-71d5ffba4434538e7897b288ddfa2e0a6df03dd2.tar.gz
core-71d5ffba4434538e7897b288ddfa2e0a6df03dd2.zip
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/vcl/metric.hxx')
-rw-r--r--include/vcl/metric.hxx1
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;