summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'libs/canvas/canvas')
-rw-r--r--libs/canvas/canvas/text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/canvas/canvas/text.h b/libs/canvas/canvas/text.h
index a967206e65..ee22a3ecda 100644
--- a/libs/canvas/canvas/text.h
+++ b/libs/canvas/canvas/text.h
@@ -51,6 +51,7 @@ public:
void dump (std::ostream&) const;
std::string text() const { return _text; }
+ double text_width() const;
private:
std::string _text;