static Wcd.Mgcg.CanvasFilledRegionDetermination FilledRegionDetermination(Win2D.CanvasFilledRegionDetermination fillType) { switch (fillType) { case Win2D.CanvasFilledRegionDetermination.Alternate: return(Wcd.Mgcg.CanvasFilledRegionDetermination.Alternate); case Win2D.CanvasFilledRegionDetermination.Winding: return(Wcd.Mgcg.CanvasFilledRegionDetermination.Winding); default: throw new InvalidOperationException(); } }
void Win2D.ICanvasPathReceiver.SetFilledRegionDetermination(Win2D.CanvasFilledRegionDetermination filledRegionDetermination) { _builder.SetFilledRegionDetermination(FilledRegionDetermination(filledRegionDetermination)); }