aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graph/direct/text_layout.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-24 00:03:16 +0800
committercrupest <crupest@outlook.com>2020-04-24 00:03:16 +0800
commit75ff8a6a05afd02aaadf7e3049b0a0e305241182 (patch)
tree5444bbb3ef80036cc38a827b8ccf03f48b310728 /include/cru/win/graph/direct/text_layout.hpp
parent922d7f6c96f81a33538900f8a8992a5b6f640874 (diff)
downloadcru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.gz
cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.tar.bz2
cru-75ff8a6a05afd02aaadf7e3049b0a0e305241182.zip
...
Diffstat (limited to 'include/cru/win/graph/direct/text_layout.hpp')
-rw-r--r--include/cru/win/graph/direct/text_layout.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/win/graph/direct/text_layout.hpp b/include/cru/win/graph/direct/text_layout.hpp
index 90faadf9..2870db96 100644
--- a/include/cru/win/graph/direct/text_layout.hpp
+++ b/include/cru/win/graph/direct/text_layout.hpp
@@ -40,7 +40,7 @@ class DWriteTextLayout : public DirectGraphResource,
// 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;
- Point TextSingleRect(gsl::index position, bool trailing) override;
+ Point TextSinglePoint(gsl::index position, bool trailing) override;
TextHitTestResult HitTest(const Point& point) override;
private: