aboutsummaryrefslogtreecommitdiff
path: root/src/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text.cpp')
-rw-r--r--src/Text.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index 4aaf1c6..8f58e3d 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -155,6 +155,11 @@ namespace QuickMedia
dirtyCaret = true;
}
}
+
+ float Text::getWidth() const
+ {
+ return boundingBox.width;
+ }
float Text::getHeight() const
{