100 references to FillRule
PresentationCore (86)
MS\Internal\Ink\StrokeRenderer.cs (2)
41streamGeometry.FillRule = FillRule.Nonzero; 221streamGeometry.FillRule = FillRule.Nonzero;
MS\Internal\KnownBoxes.cs (4)
12internal static object EvenOddBox = FillRule.EvenOdd; 13internal static object NonzeroBox = FillRule.Nonzero; 15internal static object Box(FillRule value) 17if (value == FillRule.Nonzero)
MS\Internal\Media\ParserStreamGeometryContext.cs (7)
79internal void SetFillRule(FillRule fillRule) 378FillRule fillRule; 600private static FillRule BoolToFillRule(bool value) 603return FillRule.EvenOdd; 605return FillRule.Nonzero; 608private static bool FillRuleToBool(FillRule fill) 610if (fill == FillRule.EvenOdd)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\Generated\wgx_commands.cs (2)
859[FieldOffset(12)] internal FillRule FillRule; 878[FieldOffset(12)] internal FillRule FillRule;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\FillRuleValidation.cs (4)
35FillRule value = (FillRule) valueObject; 37return (value == FillRule.EvenOdd) || 38(value == FillRule.Nonzero);
System\Windows\Media\Composition.cs (5)
202FillRule fillRule, 243FillRule fillRule, 254FillRule fillRule1, 258FillRule fillRule2, 267FillRule fillRule,
System\Windows\Media\EllipseGeometry.cs (2)
286PathStreamGeometryContext ctx = new PathStreamGeometryContext(FillRule.EvenOdd, Transform); 304data.FillRule = FillRule.EvenOdd;
System\Windows\Media\FormattedText.cs (2)
1946accumulatedGeometry.FillRule = FillRule.Nonzero; 1986accumulatedGeometry.FillRule = FillRule.Nonzero;
System\Windows\Media\Generated\GeometryGroup.cs (6)
159public FillRule FillRule 163return (FillRule) GetValue(FillRuleProperty); 456internal const FillRule c_FillRule = FillRule.EvenOdd; 486typeof(FillRule), 488FillRule.EvenOdd,
System\Windows\Media\Generated\PathGeometry.cs (6)
84public FillRule FillRule 88return (FillRule) GetValue(FillRuleProperty); 251internal const FillRule c_FillRule = FillRule.EvenOdd; 281typeof(FillRule), 283FillRule.EvenOdd,
System\Windows\Media\Generated\StreamGeometry.cs (6)
70public FillRule FillRule 74return (FillRule) GetValue(FillRuleProperty); 164internal const FillRule c_FillRule = FillRule.EvenOdd; 191typeof(FillRule), 193FillRule.EvenOdd,
System\Windows\Media\Geometry.cs (8)
612FillRule fillRule = FillRule.Nonzero; 696FillRule fillRule = FillRule.Nonzero; 841FillRule fillRule = FillRule.Nonzero; 957internal FillRule FillRule; 998data.FillRule = FillRule.EvenOdd;
System\Windows\Media\GlyphRun.cs (1)
1603accumulatedGeometry.FillRule = FillRule.Nonzero;
System\Windows\Media\GlyphTypeface.cs (1)
1259FillRule fillRule;
System\Windows\Media\LineGeometry.cs (2)
182PathStreamGeometryContext ctx = new PathStreamGeometryContext(FillRule.EvenOdd, Transform); 240data.FillRule = FillRule.EvenOdd;
System\Windows\Media\ParsersCommon.cs (7)
56FillRule fillRule = FillRule.EvenOdd ; 78FillRule fillRule = FillRule.EvenOdd ; 100ref FillRule fillRule 143fillRule = pathString[curIndex] == '0' ? FillRule.EvenOdd : FillRule.Nonzero;
System\Windows\Media\PathGeometry.cs (5)
61public PathGeometry(IEnumerable<PathFigure> figures, FillRule fillRule, Transform transform) 619FillRule fillRule = FillRule.Nonzero; 922FillRule fillRule = FillRule; 931if (fillRule != FillRule.EvenOdd)
System\Windows\Media\PathStreamGeometryContext.cs (3)
28s_defaultFillRule = (FillRule)PathGeometry.FillRuleProperty.GetDefaultValue(typeof(PathGeometry)); 48internal PathStreamGeometryContext(FillRule fillRule, 462private static FillRule s_defaultFillRule;
System\Windows\Media\RectangleGeometry.cs (2)
383PathStreamGeometryContext ctx = new PathStreamGeometryContext(FillRule.EvenOdd, Transform); 401data.FillRule = FillRule.EvenOdd;
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (11)
81FillRule fillRule, 94FillRule fillRule1, 98FillRule fillRule2, 105out FillRule resultFillRule); 112FillRule fillRule, 118out FillRule widenedFillRule); 123FillRule fillRule, 129out FillRule outlinedFillRule); 134FillRule fillRule, 140out FillRule resultFillRule); 177out FillRule pFillRule
PresentationFramework (10)
System\Windows\Documents\HighlightVisual.cs (2)
242highlightGeometry.FillRule = FillRule.Nonzero; 260highlightGeometry.FillRule = FillRule.Nonzero;
System\Windows\Shapes\Polygon.cs (4)
64typeof(FillRule), 67FillRule.EvenOdd, 75public FillRule FillRule 79return (FillRule)GetValue(FillRuleProperty);
System\Windows\Shapes\Polyline.cs (4)
63typeof(FillRule), 66FillRule.EvenOdd, 74public FillRule FillRule 78return (FillRule)GetValue(FillRuleProperty);
ReachFramework (4)
Serialization\Manager\ReachSerializationUtils.cs (1)
1003geometry.FillRule = FillRule.Nonzero;
Serialization\VisualSerializer.cs (3)
1229if (path.FillRule == FillRule.EvenOdd) 1413private void WriteFillRule(FillRule rule) 1417if (rule == FillRule.Nonzero)