fix: draw smoothing round rect corner (#48780)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Bill Shen <15865969+cucbin@users.noreply.github.com>
This commit is contained in:
trop[bot]
2025-11-05 18:26:38 -05:00
committed by GitHub
parent 4b13582af0
commit 60ff1a18ac

View File

@@ -302,8 +302,8 @@ SkPath DrawSmoothRoundRect(float x,
bottom_right_smoothness, SkPoint::Make(x + width, y + height), 2);
// Bottom left corner
DrawCorner(path, bottom_left_radius, left_bottom_smoothness,
bottom_left_smoothness, SkPoint::Make(x, y + height), 3);
DrawCorner(path, bottom_left_radius, bottom_left_smoothness,
left_bottom_smoothness, SkPoint::Make(x, y + height), 3);
path.close();
return path;