diff options
author | crupest <crupest@outlook.com> | 2022-02-27 20:26:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-27 20:26:17 +0800 |
commit | c0817f5494e6a08c0db9e22a7195daedd1a6b4c3 (patch) | |
tree | fe353c2369643c58fd93dca22c6bd4cdf556e75d /src/ui/render/BorderRenderObject.cpp | |
parent | afcf935a739c60d9141e2d53fb62e30ff4fc1f80 (diff) | |
download | cru-c0817f5494e6a08c0db9e22a7195daedd1a6b4c3.tar.gz cru-c0817f5494e6a08c0db9e22a7195daedd1a6b4c3.tar.bz2 cru-c0817f5494e6a08c0db9e22a7195daedd1a6b4c3.zip |
...
Diffstat (limited to 'src/ui/render/BorderRenderObject.cpp')
-rw-r--r-- | src/ui/render/BorderRenderObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/render/BorderRenderObject.cpp b/src/ui/render/BorderRenderObject.cpp index abba47e9..40ab506a 100644 --- a/src/ui/render/BorderRenderObject.cpp +++ b/src/ui/render/BorderRenderObject.cpp @@ -184,7 +184,7 @@ void BorderRenderObject::RecreateGeometry() { auto f = [](platform::graphics::IGeometryBuilder* builder, const Rect& rect, const CornerRadius& corner) { - builder->BeginFigure(Point(rect.left + corner.left_top.x, rect.top)); + builder->MoveTo(Point(rect.left + corner.left_top.x, rect.top)); builder->LineTo(Point(rect.GetRight() - corner.right_top.x, rect.top)); builder->QuadraticBezierTo( Point(rect.GetRight(), rect.top), |