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/platform/graph/text_layout.hpp | |
parent | 2898b68fc4f7ff40844ddf5a1d0b59f76b06290f (diff) | |
download | cru-977baa3a42a8b813e75a3666809155604cb6713d.tar.gz cru-977baa3a42a8b813e75a3666809155604cb6713d.tar.bz2 cru-977baa3a42a8b813e75a3666809155604cb6713d.zip |
...
Diffstat (limited to 'include/cru/platform/graph/text_layout.hpp')
-rw-r--r-- | include/cru/platform/graph/text_layout.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/graph/text_layout.hpp b/include/cru/platform/graph/text_layout.hpp index 20009c0d..0d104742 100644 --- a/include/cru/platform/graph/text_layout.hpp +++ b/include/cru/platform/graph/text_layout.hpp @@ -17,7 +17,7 @@ struct ITextLayout : virtual IGraphResource { virtual Rect GetTextBounds() = 0; virtual std::vector<Rect> TextRangeRect(const TextRange& text_range) = 0; - virtual Point TextSingleRect(int position, bool trailing) = 0; + virtual Point TextSingleRect(gsl::index position, bool trailing) = 0; virtual TextHitTestResult HitTest(const Point& point) = 0; }; } // namespace cru::platform::graph |