From 75ff8a6a05afd02aaadf7e3049b0a0e305241182 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 24 Apr 2020 00:03:16 +0800 Subject: ... --- include/cru/platform/graph/text_layout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cru/platform/graph') diff --git a/include/cru/platform/graph/text_layout.hpp b/include/cru/platform/graph/text_layout.hpp index 0d104742..d91834c0 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 TextRangeRect(const TextRange& text_range) = 0; - virtual Point TextSingleRect(gsl::index position, bool trailing) = 0; + virtual Point TextSinglePoint(gsl::index position, bool trailing) = 0; virtual TextHitTestResult HitTest(const Point& point) = 0; }; } // namespace cru::platform::graph -- cgit v1.2.3