Browse Source

Merge pull request #772 from VitalElement/fixes/skia-path-fill-type

Sets skia Path FillType to EvenOdd
Nikita Tsukanov 9 years ago
parent
commit
24469c4c91
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Skia/Avalonia.Skia/StreamGeometryImpl.cs

+ 2 - 0
src/Skia/Avalonia.Skia/StreamGeometryImpl.cs

@@ -72,6 +72,8 @@ namespace Avalonia.Skia
         public IStreamGeometryContextImpl Open()
         {
             _path = new SKPath();
+            _path.FillType = SKPathFillType.EvenOdd;
+
             return new StreamContext(this);
         }