18 references to NonZero
Microsoft.Maui.Controls (4)
Handlers\Shapes\Polygon\PolygonHandler.iOS.cs (1)
43
shapeDrawable.UpdateWindingMode(polygon.FillRule == FillRule.EvenOdd ? WindingMode.EvenOdd : WindingMode.
NonZero
);
Handlers\Shapes\Polyline\PolylineHandler.iOS.cs (1)
43
shapeDrawable.UpdateWindingMode(polyline.FillRule == FillRule.EvenOdd ? WindingMode.EvenOdd : WindingMode.
NonZero
);
Platform\ShapeExtensions.cs (2)
11
return WindingMode.
NonZero
;
23
return fillRule == FillRule.EvenOdd ? WindingMode.EvenOdd : WindingMode.
NonZero
;
Microsoft.Maui.Graphics (7)
AbstractCanvas.cs (1)
204
public abstract void ClipPath(PathF path, WindingMode windingMode = WindingMode.
NonZero
);
CanvasExtensions.cs (2)
133
target.FillPath(path, WindingMode.
NonZero
);
141
public static void ClipPath(this ICanvas target, PathF path, WindingMode windingMode = WindingMode.
NonZero
)
ICanvas.cs (2)
112
/// <param name="windingMode">Fill algorithm used for the path. Default is <see cref="WindingMode.
NonZero
"/>.</param>
113
public void ClipPath(PathF path, WindingMode windingMode = WindingMode.
NonZero
);
PictureCanvas.cs (1)
194
public void ClipPath(PathF path, WindingMode windingMode = WindingMode.
NonZero
)
ScalingCanvas.cs (1)
187
public void ClipPath(PathF path, WindingMode windingMode = WindingMode.
NonZero
)
Microsoft.Maui.Graphics.Skia (3)
SkiaCanvas.cs (3)
600
WindingMode windingMode = WindingMode.
NonZero
)
603
platformPath.FillType = windingMode == WindingMode.
NonZero
? SKPathFillType.Winding : SKPathFillType.EvenOdd;
611
platformPath.FillType = windingMode == WindingMode.
NonZero
? SKPathFillType.Winding : SKPathFillType.EvenOdd;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (4)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (2)
145
var geometry = GetPath(path, windingMode == WindingMode.
NonZero
? CanvasFilledRegionDetermination.Winding : CanvasFilledRegionDetermination.Alternate);
155
public override void ClipPath(PathF path, WindingMode windingMode = WindingMode.
NonZero
)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (2)
496
var clipGeometry = path.AsPath(_owner.Session, windingMode == WindingMode.
NonZero
? CanvasFilledRegionDetermination.Winding : CanvasFilledRegionDetermination.Alternate);
508
ClipPath(path, WindingMode.
NonZero
);