fix: draw smoothing round rect corner (#48783)
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:
parent
d8c222d607
commit
e93f04b23e
1 changed files with 2 additions and 2 deletions
|
|
@ -302,8 +302,8 @@ SkPath DrawSmoothRoundRect(float x,
|
||||||
bottom_right_smoothness, SkPoint::Make(x + width, y + height), 2);
|
bottom_right_smoothness, SkPoint::Make(x + width, y + height), 2);
|
||||||
|
|
||||||
// Bottom left corner
|
// Bottom left corner
|
||||||
DrawCorner(path, bottom_left_radius, left_bottom_smoothness,
|
DrawCorner(path, bottom_left_radius, bottom_left_smoothness,
|
||||||
bottom_left_smoothness, SkPoint::Make(x, y + height), 3);
|
left_bottom_smoothness, SkPoint::Make(x, y + height), 3);
|
||||||
|
|
||||||
path.close();
|
path.close();
|
||||||
return path;
|
return path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue