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