diff options
Diffstat (limited to 'src/Text.cpp')
-rw-r--r-- | src/Text.cpp | 5 |
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 { |