diff options
author | crupest <crupest@outlook.com> | 2020-12-31 18:27:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-12-31 18:27:57 +0800 |
commit | 1e1170a89330881c5fad60988bc27c824dfcf454 (patch) | |
tree | 9abebbcff045edbea24ea25a377cf34374074907 /include/cru/win/graphics/direct/TextLayout.hpp | |
parent | 0026d1f9b50270cd96d8a2a44c55410bc9dc2f7a (diff) | |
download | cru-1e1170a89330881c5fad60988bc27c824dfcf454.tar.gz cru-1e1170a89330881c5fad60988bc27c824dfcf454.tar.bz2 cru-1e1170a89330881c5fad60988bc27c824dfcf454.zip |
...
Diffstat (limited to 'include/cru/win/graphics/direct/TextLayout.hpp')
-rw-r--r-- | include/cru/win/graphics/direct/TextLayout.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/win/graphics/direct/TextLayout.hpp b/include/cru/win/graphics/direct/TextLayout.hpp index 3320431f..aa040278 100644 --- a/include/cru/win/graphics/direct/TextLayout.hpp +++ b/include/cru/win/graphics/direct/TextLayout.hpp @@ -38,7 +38,7 @@ class DWriteTextLayout : public DirectGraphResource, void SetMaxWidth(float max_width) override; void SetMaxHeight(float max_height) override; - Rect GetTextBounds() override; + Rect GetTextBounds(bool includingTrailingSpace = false) override; // Return empty vector if text_range.count is 0. Text range could be in // reverse direction, it should be normalized first in implementation. std::vector<Rect> TextRangeRect(const TextRange& text_range) override; |