59 references to MILCoreSegFlags
PresentationCore (59)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_core_types.cs (6)
1036[FieldOffset(4)] internal MILCoreSegFlags Flags; 1044[FieldOffset(4)] internal MILCoreSegFlags Flags; 1054[FieldOffset(4)] internal MILCoreSegFlags Flags; 1066[FieldOffset(4)] internal MILCoreSegFlags Flags; 1077[FieldOffset(4)] internal MILCoreSegFlags Flags; 1091[FieldOffset(4)] internal MILCoreSegFlags Flags;
System\Windows\Media\ByteStreamGeometryContext.cs (12)
213arcToSegment.Flags |= isStroked ? 0 : MILCoreSegFlags.SegIsAGap; 214arcToSegment.Flags |= isSmoothJoin ? MILCoreSegFlags.SegSmoothJoin : 0; 215arcToSegment.Flags |= MILCoreSegFlags.SegIsCurved; 594if ((_currentPolySegmentData.Flags & MILCoreSegFlags.SegIsAGap) != 0) 599if ((_currentPolySegmentData.Flags & MILCoreSegFlags.SegIsCurved) != 0) 687(((_currentPolySegmentData.Flags & MILCoreSegFlags.SegIsAGap) == 0) != isStroked) || 688(((_currentPolySegmentData.Flags & MILCoreSegFlags.SegSmoothJoin) != 0) != isSmoothJoin) 708_currentPolySegmentData.Flags |= isStroked ? 0 : MILCoreSegFlags.SegIsAGap; 709_currentPolySegmentData.Flags |= hasCurves ? MILCoreSegFlags.SegIsCurved : 0; 710_currentPolySegmentData.Flags |= isSmoothJoin ? MILCoreSegFlags.SegSmoothJoin : 0; 717(((_currentPolySegmentData.Flags & MILCoreSegFlags.SegIsAGap) == 0) == isStroked) && 718(((_currentPolySegmentData.Flags & MILCoreSegFlags.SegSmoothJoin) != 0) == isSmoothJoin));
System\Windows\Media\EllipseGeometry.cs (7)
381private const byte c_smoothBezier = (byte)MILCoreSegFlags.SegTypeBezier | 382(byte)MILCoreSegFlags.SegIsCurved | 383(byte)MILCoreSegFlags.SegSmoothJoin; 385private static ReadOnlySpan<byte> RoundedPathTypes => [(byte)MILCoreSegFlags.SegTypeBezier | 386(byte)MILCoreSegFlags.SegIsCurved | 387(byte)MILCoreSegFlags.SegSmoothJoin | 388(byte)MILCoreSegFlags.SegClosed,
System\Windows\Media\LineGeometry.cs (1)
170private static ReadOnlySpan<byte> LineTypes => [(byte)MILCoreSegFlags.SegTypeLine];
System\Windows\Media\PathGeometry.cs (19)
170((pSegmentLine->Flags & MILCoreSegFlags.SegIsAGap) == 0), 171((pSegmentLine->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 187((pSegmentBezier->Flags & MILCoreSegFlags.SegIsAGap) == 0), 188((pSegmentBezier->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 203((pSegmentQuadraticBezier->Flags & MILCoreSegFlags.SegIsAGap) == 0), 204((pSegmentQuadraticBezier->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 222((pSegmentArc->Flags & MILCoreSegFlags.SegIsAGap) == 0), 223((pSegmentArc->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 266((pSegmentPoly->Flags & MILCoreSegFlags.SegIsAGap) == 0), 267((pSegmentPoly->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 271((pSegmentPoly->Flags & MILCoreSegFlags.SegIsAGap) == 0), 272((pSegmentPoly->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 276((pSegmentPoly->Flags & MILCoreSegFlags.SegIsAGap) == 0), 277((pSegmentPoly->Flags & MILCoreSegFlags.SegSmoothJoin) != 0)); 442byte segType = (byte)(pSegTypes[segIndex] & (byte)MILCoreSegFlags.SegTypeMask); 453bool fStroked = (pSegTypes[segIndex] & (byte)MILCoreSegFlags.SegIsAGap) == (byte)0; 454bool fSmooth = (pSegTypes[segIndex] & (byte)MILCoreSegFlags.SegSmoothJoin) != (byte)0; 456if (segType == (byte)MILCoreSegFlags.SegTypeLine) 485else if (segType == (byte)MILCoreSegFlags.SegTypeBezier)
System\Windows\Media\RectangleGeometry.cs (14)
593private static byte smoothBezier = (byte)MILCoreSegFlags.SegTypeBezier | 594(byte)MILCoreSegFlags.SegIsCurved | 595(byte)MILCoreSegFlags.SegSmoothJoin; 597private static byte smoothLine = (byte)MILCoreSegFlags.SegTypeLine | (byte)MILCoreSegFlags.SegSmoothJoin; 600(byte)MILCoreSegFlags.SegTypeBezier | 601(byte)MILCoreSegFlags.SegIsCurved | 602(byte)MILCoreSegFlags.SegSmoothJoin | 603(byte)MILCoreSegFlags.SegClosed, 617private static ReadOnlySpan<byte> SquaredPathTypes => [(byte)MILCoreSegFlags.SegTypeLine | (byte)MILCoreSegFlags.SegClosed, 618(byte)MILCoreSegFlags.SegTypeLine, 619(byte)MILCoreSegFlags.SegTypeLine, 620(byte)MILCoreSegFlags.SegTypeLine];