10 types derived from Drawing
PresentationCore (10)
System\Windows\Media\DrawingGroup.cs (1)
45
public sealed partial class DrawingGroup :
Drawing
System\Windows\Media\Generated\DrawingGroup.cs (1)
45
sealed partial class DrawingGroup :
Drawing
System\Windows\Media\Generated\GeometryDrawing.cs (1)
45
sealed partial class GeometryDrawing :
Drawing
System\Windows\Media\Generated\GlyphRunDrawing.cs (1)
45
sealed partial class GlyphRunDrawing :
Drawing
System\Windows\Media\Generated\ImageDrawing.cs (1)
45
sealed partial class ImageDrawing :
Drawing
System\Windows\Media\Generated\VideoDrawing.cs (1)
45
sealed partial class VideoDrawing :
Drawing
System\Windows\Media\GeometryDrawing.cs (1)
21
public sealed partial class GeometryDrawing :
Drawing
System\Windows\Media\GlyphRunDrawing.cs (1)
18
public sealed partial class GlyphRunDrawing :
Drawing
System\Windows\Media\ImageDrawing.cs (1)
22
public sealed partial class ImageDrawing :
Drawing
System\Windows\Media\VideoDrawing.cs (1)
18
public sealed partial class VideoDrawing :
Drawing
122 references to Drawing
PresentationCore (101)
System\Windows\Media\Drawing.cs (3)
96
((
Drawing
)this).WalkCurrentValue(ctx);
135
((
Drawing
)this).Changed += handler;
139
((
Drawing
)this).Changed -= handler;
System\Windows\Media\DrawingBrush.cs (1)
43
public DrawingBrush(
Drawing
drawing)
System\Windows\Media\DrawingCollection.cs (1)
21
public sealed partial class DrawingCollection : Animatable, IList, IList<
Drawing
>
System\Windows\Media\DrawingDrawingContext.cs (3)
630
Drawing
drawing)
1384
private void AddDrawing(
Drawing
newDrawing)
1446
protected
Drawing
_rootDrawing;
System\Windows\Media\DrawingGroup.cs (1)
272
Drawing
drawing = collection.Internal_GetItem(i);
System\Windows\Media\DrawingImage.cs (2)
43
public DrawingImage(
Drawing
drawing)
95
Drawing
drawing = Drawing;
System\Windows\Media\DrawingServices.cs (2)
30
internal static bool HitTestPoint(
Drawing
drawing, Point point)
54
internal static IntersectionDetail HitTestGeometry(
Drawing
drawing, PathGeometry geometry)
System\Windows\Media\FormattedText.cs (2)
1935
private void CombineGeometryRecursive(
Drawing
drawing, ref GeometryGroup accumulatedGeometry)
1941
foreach (
Drawing
child in group.Children)
System\Windows\Media\Generated\Drawing.cs (4)
59
public new
Drawing
Clone()
61
return (
Drawing
)base.Clone();
68
public new
Drawing
CloneCurrentValue()
70
return (
Drawing
)base.CloneCurrentValue();
System\Windows\Media\Generated\DrawingBrush.cs (10)
104
Drawing
oldV = (
Drawing
) e.OldValue;
105
Drawing
newV = (
Drawing
) e.NewValue;
135
public
Drawing
Drawing
139
return (
Drawing
) GetValue(DrawingProperty);
190
Drawing
vDrawing = Drawing;
271
Drawing
vDrawing = Drawing;
292
Drawing
vDrawing = Drawing;
398
typeof(
Drawing
),
System\Windows\Media\Generated\DrawingCollection.cs (55)
50
public sealed partial class DrawingCollection : Animatable, IList, IList<
Drawing
>
95
public void Add(
Drawing
value)
115
FrugalStructList<
Drawing
> oldCollection = _collection;
116
_collection = new FrugalStructList<
Drawing
>(_collection.Capacity);
135
public bool Contains(
Drawing
value)
145
public int IndexOf(
Drawing
value)
155
public void Insert(int index,
Drawing
value)
177
public bool Remove(
Drawing
value)
193
Drawing
oldValue = _collection[index];
237
Drawing
oldValue = _collection[ index ];
255
public
Drawing
this[int index]
274
Drawing
oldValue = _collection[ index ];
308
public void CopyTo(
Drawing
[] array, int index)
323
bool ICollection<
Drawing
>.IsReadOnly
347
IEnumerator<
Drawing
> IEnumerable<
Drawing
>.GetEnumerator()
360
return ((ICollection<
Drawing
>)this).IsReadOnly;
395
return Contains(value as
Drawing
);
400
return IndexOf(value as
Drawing
);
411
Remove(value as
Drawing
);
503
internal
Drawing
Internal_GetItem(int i)
530
private
Drawing
Cast(object value)
534
if (!(value is
Drawing
))
539
return (
Drawing
) value;
545
private int AddHelper(
Drawing
value)
556
internal int AddWithoutFiringPublicEvents(
Drawing
value)
565
Drawing
newValue = value;
641
_collection = new FrugalStructList<
Drawing
>(count);
645
Drawing
newValue = (
Drawing
) sourceDrawingCollection._collection[i].Clone();
662
_collection = new FrugalStructList<
Drawing
>(count);
666
Drawing
newValue = (
Drawing
) sourceDrawingCollection._collection[i].CloneCurrentValue();
683
_collection = new FrugalStructList<
Drawing
>(count);
687
Drawing
newValue = (
Drawing
) sourceDrawingCollection._collection[i].GetAsFrozen();
704
_collection = new FrugalStructList<
Drawing
>(count);
708
Drawing
newValue = (
Drawing
) sourceDrawingCollection._collection[i].GetCurrentValueAsFrozen();
787
internal FrugalStructList<
Drawing
> _collection;
797
public struct Enumerator : IEnumerator, IEnumerator<
Drawing
>
808
_current = default(
Drawing
);
887
public
Drawing
Current
910
private
Drawing
_current;
932
_collection = new FrugalStructList<
Drawing
>();
941
_collection = new FrugalStructList<
Drawing
>(capacity);
947
public DrawingCollection(IEnumerable<
Drawing
> collection)
958
ICollection<
Drawing
> icollectionOfT = collection as ICollection<
Drawing
>;
962
_collection = new FrugalStructList<
Drawing
>(icollectionOfT);
970
_collection = new FrugalStructList<
Drawing
>(icollection);
974
_collection = new FrugalStructList<
Drawing
>();
976
foreach (
Drawing
item in collection)
982
Drawing
newValue = item;
994
foreach (
Drawing
item in collection)
System\Windows\Media\Generated\DrawingContext.cs (1)
308
Drawing
drawing);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
403
Drawing
drawing)
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
345
Drawing
drawing)
System\Windows\Media\Generated\DrawingImage.cs (10)
104
Drawing
oldV = (
Drawing
) e.OldValue;
105
Drawing
newV = (
Drawing
) e.NewValue;
135
public
Drawing
Drawing
139
return (
Drawing
) GetValue(DrawingProperty);
188
Drawing
vDrawing = Drawing;
212
Drawing
vDrawing = Drawing;
229
Drawing
vDrawing = Drawing;
335
typeof(
Drawing
),
System\Windows\Media\Generated\RenderData.cs (2)
1304
(
Drawing
)DependentLookup(data->hDrawing)
1654
(
Drawing
)DependentLookup(data->hDrawing)
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
751
Drawing
drawing)
System\Windows\Media\ImageBrush.cs (1)
71
Drawing
drawing = di.Drawing;
PresentationFramework (11)
MS\Internal\Ink\PenCursorManager.cs (6)
50
Drawing
penDrawing = CreatePenDrawing(drawingAttributes, isHollow, isRightToLeft, dpiScaleX, dpiScaleY);
109
Drawing
drawing = CreateStrokeEraserDrawing();
202
private static Cursor CreateCursorFromDrawing(
Drawing
drawing, Point hotspot)
251
private static DrawingVisual CreateCursorDrawingVisual(
Drawing
drawing, int width, int height)
327
private static
Drawing
CreatePenDrawing(DrawingAttributes drawingAttributes, bool isHollow, bool isRightToLeft, double dpiScaleX, double dpiScaleY)
437
private static
Drawing
CreateStrokeEraserDrawing()
MS\Internal\PtsHost\Line.cs (2)
1075
private static void AddGlyphRunRecursive(
Drawing
drawing, List<GlyphRun> glyphRunsCollection, ref int cchGlyphRuns)
1079
foreach (
Drawing
child in group.Children)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
275
case 179: t = () => typeof(System.Windows.Media.
Drawing
); break; // ambiguous
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3909
typeof(System.Windows.Media.
Drawing
),
System\Windows\Markup\KnownTypes.cs (1)
5733
case KnownElements.Drawing: t = typeof(System.Windows.Media.
Drawing
); break;
ReachFramework (10)
AlphaFlattener\BrushProxy.cs (1)
1415
private static DrawingBrush CreateDrawingBrush(
Drawing
drawing, Rect bounds)
AlphaFlattener\Primitive.cs (1)
319
internal static Primitive DrawingToPrimitive(System.Windows.Media.
Drawing
d, Matrix drawingToWorldTransformHint)
AlphaFlattener\Utility.cs (3)
1530
public static DrawingBrush CreateNonInheritingDrawingBrush(
Drawing
drawing)
1940
private static Visual CreateVisualFromDrawing(
Drawing
drawing)
2028
Drawing
drawing,
Serialization\VisualSerializer.cs (1)
596
private void WriteDrawingBody(System.Windows.Media.
Drawing
drawing, Matrix worldTransform)
Serialization\VisualTreeFlattener.cs (4)
385
static int Complexity(System.Windows.Media.
Drawing
drawing)
410
foreach (System.Windows.Media.
Drawing
d in children)
441
System.Windows.Media.
Drawing
content = VisualTreeHelper.GetDrawing(visual);
670
internal void DrawingWalk(System.Windows.Media.
Drawing
d, Matrix drawingToWorldTransform)