summaryrefslogtreecommitdiff
path: root/include/vcl/metric.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/metric.hxx')
-rw-r--r--include/vcl/metric.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index 7b3694d54cd5..2c8d9f24b3af 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -48,12 +48,15 @@ public:
long GetAscent() const;
long GetDescent() const;
- long GetIntLeading() const;
- long GetExtLeading() const;
+ long GetInternalLeading() const;
+ long GetExternalLeading() const;
long GetLineHeight() const;
long GetSlant() const;
long GetBulletOffset() const;
+ void SetExternalLeading(long);
+ void SetInternalLeading(long);
+
bool IsScalable() const;
bool IsFullstopCentered() const;
bool IsBuiltInFont() const;
@@ -79,8 +82,8 @@ inline std::basic_ostream<charT, traits> & operator <<(
<< ",size=(" << rMetric.GetSize().Width() << "," << rMetric.GetSize().Height() << ")"
<< ",ascent=" << rMetric.GetAscent()
<< ",descent=" << rMetric.GetDescent()
- << ",intLeading=" << rMetric.GetIntLeading()
- << ",extLeading=" << rMetric.GetExtLeading()
+ << ",intLeading=" << rMetric.GetInternalLeading()
+ << ",extLeading=" << rMetric.GetExternalLeading()
<< ",lineHeight=" << rMetric.GetLineHeight()
<< ",slant=" << rMetric.GetSlant()
<< "}";