From bdceb94b5c626a70345d9349483f3d65be0174c5 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Tue, 28 Jan 2014 13:02:27 +0100 Subject: ScaledFont: Add the missing get_extents() method implementation. Bug #53981 (cheshirekow) --- cairomm/scaledfont.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cairomm/scaledfont.cc b/cairomm/scaledfont.cc index 46ce491..a562619 100644 --- a/cairomm/scaledfont.cc +++ b/cairomm/scaledfont.cc @@ -63,6 +63,11 @@ RefPtr ScaledFont::create(const RefPtr& font_face, const c } void ScaledFont::extents(FontExtents& extents) const +{ + get_extents(extents); +} + +void ScaledFont::get_extents(FontExtents& extents) const { cairo_scaled_font_extents(m_cobject, static_cast(&extents)); check_object_status_and_throw_exception(*this); -- cgit v1.2.3