diff options
Diffstat (limited to '3rdparty/bgfx/examples/common/font/text_metrics.h')
-rw-r--r-- | 3rdparty/bgfx/examples/common/font/text_metrics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/common/font/text_metrics.h b/3rdparty/bgfx/examples/common/font/text_metrics.h index ec373c7eb60..48c9323580e 100644 --- a/3rdparty/bgfx/examples/common/font/text_metrics.h +++ b/3rdparty/bgfx/examples/common/font/text_metrics.h @@ -25,6 +25,9 @@ public: /// Return the height of the measured text. float getHeight() const { return m_height; } + /// Clear the width and height of the measured text. + void clearText(); + private: FontManager* m_fontManager; float m_width; |