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