diff options
author | crupest <crupest@outlook.com> | 2020-04-21 17:29:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-21 17:29:37 +0800 |
commit | 977baa3a42a8b813e75a3666809155604cb6713d (patch) | |
tree | faa787e43fe8203139f79f8b39332584c1422a7d /include/cru/win/graph/direct | |
parent | 2898b68fc4f7ff40844ddf5a1d0b59f76b06290f (diff) | |
download | cru-977baa3a42a8b813e75a3666809155604cb6713d.tar.gz cru-977baa3a42a8b813e75a3666809155604cb6713d.tar.bz2 cru-977baa3a42a8b813e75a3666809155604cb6713d.zip |
...
Diffstat (limited to 'include/cru/win/graph/direct')
-rw-r--r-- | include/cru/win/graph/direct/text_layout.hpp | 2 |
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 462a5fd3..a9b89011 100644 --- a/include/cru/win/graph/direct/text_layout.hpp +++ b/include/cru/win/graph/direct/text_layout.hpp @@ -38,7 +38,7 @@ class DWriteTextLayout : public DirectGraphResource, Rect GetTextBounds() override; std::vector<Rect> TextRangeRect(const TextRange& text_range) override; - Point TextSingleRect(int position, bool trailing) override; + Point TextSingleRect(gsl::index position, bool trailing) override; TextHitTestResult HitTest(const Point& point) override; private: |