fix: draw smoothing round rect corner (#48769)

This commit is contained in:
BILL SHEN
2025-11-05 17:33:05 +08:00
committed by GitHub
parent 040b0e795b
commit 513a6ee80a

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;