40 references to WindingMode
Microsoft.Maui (2)
Graphics\ShapeDrawable.cs (2)
34
internal
WindingMode
WindingMode { get; set; }
42
public void UpdateWindingMode(
WindingMode
windingMode)
Microsoft.Maui.Controls (9)
Handlers\Shapes\Polygon\PolygonHandler.iOS.cs (2)
43
shapeDrawable.UpdateWindingMode(polygon.FillRule == FillRule.EvenOdd ?
WindingMode
.EvenOdd :
WindingMode
.NonZero);
Handlers\Shapes\Polyline\PolylineHandler.iOS.cs (2)
43
shapeDrawable.UpdateWindingMode(polyline.FillRule == FillRule.EvenOdd ?
WindingMode
.EvenOdd :
WindingMode
.NonZero);
Platform\iOS\ShapeViewExtensions.cs (1)
12
var
windingMode = shapeDrawable.GetPathWindingMode(shapeView);
Platform\ShapeExtensions.cs (4)
8
internal static
WindingMode
GetPathWindingMode(this IDrawable drawable, IShapeView shapeView)
11
return
WindingMode
.NonZero;
23
return fillRule == FillRule.EvenOdd ?
WindingMode
.EvenOdd :
WindingMode
.NonZero;
Microsoft.Maui.Graphics (17)
AbstractCanvas.cs (3)
202
public abstract void FillPath(PathF path,
WindingMode
windingMode);
204
public abstract void ClipPath(PathF path,
WindingMode
windingMode =
WindingMode
.NonZero);
CanvasExtensions.cs (4)
133
target.FillPath(path,
WindingMode
.NonZero);
136
public static void FillPath(this ICanvas target, PathF path,
WindingMode
windingMode)
141
public static void ClipPath(this ICanvas target, PathF path,
WindingMode
windingMode =
WindingMode
.NonZero)
ICanvas.cs (4)
97
public void FillPath(PathF path,
WindingMode
windingMode);
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 (3)
189
public void FillPath(PathF path,
WindingMode
windingMode)
194
public void ClipPath(PathF path,
WindingMode
windingMode =
WindingMode
.NonZero)
ScalingCanvas.cs (3)
181
public void FillPath(PathF path,
WindingMode
windingMode)
187
public void ClipPath(PathF path,
WindingMode
windingMode =
WindingMode
.NonZero)
Microsoft.Maui.Graphics.Skia (5)
SkiaCanvas.cs (5)
600
WindingMode
windingMode =
WindingMode
.NonZero)
603
platformPath.FillType = windingMode ==
WindingMode
.NonZero ? SKPathFillType.Winding : SKPathFillType.EvenOdd;
608
WindingMode
windingMode)
611
platformPath.FillType = windingMode ==
WindingMode
.NonZero ? SKPathFillType.Winding : SKPathFillType.EvenOdd;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (7)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (4)
143
public override void FillPath(PathF path,
WindingMode
windingMode)
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 (3)
482
public void ClipPath(PathF path,
WindingMode
windingMode)
496
var clipGeometry = path.AsPath(_owner.Session, windingMode ==
WindingMode
.NonZero ? CanvasFilledRegionDetermination.Winding : CanvasFilledRegionDetermination.Alternate);
508
ClipPath(path,
WindingMode
.NonZero);