Browse Source
Merge pull request #7368 from JamDoggie/master
Set antialias to true when calling ClipRoundRect
pull/7385/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Skia/Avalonia.Skia/DrawingContextImpl.cs
|
|
|
@ -482,7 +482,7 @@ namespace Avalonia.Skia |
|
|
|
public void PushClip(RoundedRect clip) |
|
|
|
{ |
|
|
|
Canvas.Save(); |
|
|
|
Canvas.ClipRoundRect(clip.ToSKRoundRect()); |
|
|
|
Canvas.ClipRoundRect(clip.ToSKRoundRect(), antialias:true); |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|