27 references to DrawingFlags
PresentationCore (27)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
799if (value.GetType() != typeof(DrawingFlags)) 801throw new ArgumentException(SR.Format(SR.InvalidValueType, typeof(DrawingFlags)), "value");
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
169DrawingFlags flags = (DrawingFlags)dw;
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
415epc.Add(KnownIds.DrawingFlags, DrawingFlags.Polyline);
System\Windows\Ink\DrawingAttributes.cs (22)
207DrawingFlags flags = (DrawingFlags)GetExtendedPropertyBackedProperty(KnownIds.DrawingFlags); 208return (0 != (flags & DrawingFlags.FitToCurve)); 214DrawingFlags flags = (DrawingFlags)GetExtendedPropertyBackedProperty(KnownIds.DrawingFlags); 218flags |= DrawingFlags.FitToCurve; 223flags &= ~DrawingFlags.FitToCurve; 237DrawingFlags flags = (DrawingFlags)GetExtendedPropertyBackedProperty(KnownIds.DrawingFlags); 238return (0 != (flags & DrawingFlags.IgnorePressure)); 244DrawingFlags flags = (DrawingFlags)GetExtendedPropertyBackedProperty(KnownIds.DrawingFlags); 248flags |= DrawingFlags.IgnorePressure; 253flags &= ~DrawingFlags.IgnorePressure; 421internal DrawingFlags DrawingFlags 425return (DrawingFlags)GetExtendedPropertyBackedProperty(KnownIds.DrawingFlags); 674return DrawingFlags.AntiAliased; 984DrawingFlags changedBits = ( ( (DrawingFlags)e.PreviousValue ) ^ ( (DrawingFlags)e.NewValue ) ); 989if ( (changedBits & DrawingFlags.FitToCurve) != 0 ) 994if ( (changedBits & DrawingFlags.IgnorePressure) != 0 )