10 types derived from Drawing
PresentationCore (10)
System\Windows\Media\DrawingGroup.cs (1)
16public sealed partial class DrawingGroup : Drawing
System\Windows\Media\Generated\DrawingGroup.cs (1)
19sealed partial class DrawingGroup : Drawing
System\Windows\Media\Generated\GeometryDrawing.cs (1)
17sealed partial class GeometryDrawing : Drawing
System\Windows\Media\Generated\GlyphRunDrawing.cs (1)
17sealed partial class GlyphRunDrawing : Drawing
System\Windows\Media\Generated\ImageDrawing.cs (1)
17sealed partial class ImageDrawing : Drawing
System\Windows\Media\Generated\VideoDrawing.cs (1)
17sealed partial class VideoDrawing : Drawing
System\Windows\Media\GeometryDrawing.cs (1)
19public sealed partial class GeometryDrawing : Drawing
System\Windows\Media\GlyphRunDrawing.cs (1)
16public sealed partial class GlyphRunDrawing : Drawing
System\Windows\Media\ImageDrawing.cs (1)
17public sealed partial class ImageDrawing : Drawing
System\Windows\Media\VideoDrawing.cs (1)
16public sealed partial class VideoDrawing : Drawing
122 references to Drawing
PresentationCore (101)
System\Windows\Media\Drawing.cs (3)
87((Drawing)this).WalkCurrentValue(ctx); 126((Drawing)this).Changed += handler; 130((Drawing)this).Changed -= handler;
System\Windows\Media\DrawingBrush.cs (1)
32public DrawingBrush(Drawing drawing)
System\Windows\Media\DrawingCollection.cs (1)
19public sealed partial class DrawingCollection : Animatable, IList, IList<Drawing>
System\Windows\Media\DrawingDrawingContext.cs (3)
612Drawing drawing) 1366private void AddDrawing(Drawing newDrawing) 1428protected Drawing _rootDrawing;
System\Windows\Media\DrawingGroup.cs (1)
243Drawing drawing = collection.Internal_GetItem(i);
System\Windows\Media\DrawingImage.cs (2)
32public DrawingImage(Drawing drawing) 84Drawing drawing = Drawing;
System\Windows\Media\DrawingServices.cs (2)
27internal static bool HitTestPoint(Drawing drawing, Point point) 51internal static IntersectionDetail HitTestGeometry(Drawing drawing, PathGeometry geometry)
System\Windows\Media\FormattedText.cs (2)
1919private void CombineGeometryRecursive(Drawing drawing, ref GeometryGroup accumulatedGeometry) 1925foreach (Drawing child in group.Children)
System\Windows\Media\Generated\Drawing.cs (4)
32public new Drawing Clone() 34return (Drawing)base.Clone(); 41public new Drawing CloneCurrentValue() 43return (Drawing)base.CloneCurrentValue();
System\Windows\Media\Generated\DrawingBrush.cs (10)
76Drawing oldV = (Drawing) e.OldValue; 77Drawing newV = (Drawing) e.NewValue; 107public Drawing Drawing 111return (Drawing) GetValue(DrawingProperty); 162Drawing vDrawing = Drawing; 243Drawing vDrawing = Drawing; 264Drawing vDrawing = Drawing; 370typeof(Drawing),
System\Windows\Media\Generated\DrawingCollection.cs (55)
20public sealed partial class DrawingCollection : Animatable, IList, IList<Drawing> 65public void Add(Drawing value) 85FrugalStructList<Drawing> oldCollection = _collection; 86_collection = new FrugalStructList<Drawing>(_collection.Capacity); 105public bool Contains(Drawing value) 115public int IndexOf(Drawing value) 125public void Insert(int index, Drawing value) 147public bool Remove(Drawing value) 163Drawing oldValue = _collection[index]; 207Drawing oldValue = _collection[ index ]; 225public Drawing this[int index] 244Drawing oldValue = _collection[ index ]; 278public void CopyTo(Drawing[] array, int index) 293bool ICollection<Drawing>.IsReadOnly 317IEnumerator<Drawing> IEnumerable<Drawing>.GetEnumerator() 330return ((ICollection<Drawing>)this).IsReadOnly; 365return Contains(value as Drawing); 370return IndexOf(value as Drawing); 381Remove(value as Drawing); 473internal Drawing Internal_GetItem(int i) 500private Drawing Cast(object value) 504if (!(value is Drawing)) 509return (Drawing) value; 515private int AddHelper(Drawing value) 526internal int AddWithoutFiringPublicEvents(Drawing value) 535Drawing newValue = value; 611_collection = new FrugalStructList<Drawing>(count); 615Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].Clone(); 632_collection = new FrugalStructList<Drawing>(count); 636Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].CloneCurrentValue(); 653_collection = new FrugalStructList<Drawing>(count); 657Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetAsFrozen(); 674_collection = new FrugalStructList<Drawing>(count); 678Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetCurrentValueAsFrozen(); 757internal FrugalStructList<Drawing> _collection; 767public struct Enumerator : IEnumerator, IEnumerator<Drawing> 778_current = default(Drawing); 857public Drawing Current 880private Drawing _current; 902_collection = new FrugalStructList<Drawing>(); 911_collection = new FrugalStructList<Drawing>(capacity); 917public DrawingCollection(IEnumerable<Drawing> collection) 928ICollection<Drawing> icollectionOfT = collection as ICollection<Drawing>; 932_collection = new FrugalStructList<Drawing>(icollectionOfT); 940_collection = new FrugalStructList<Drawing>(icollection); 944_collection = new FrugalStructList<Drawing>(); 946foreach (Drawing item in collection) 952Drawing newValue = item; 964foreach (Drawing item in collection)
System\Windows\Media\Generated\DrawingContext.cs (1)
294Drawing drawing);
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (1)
388Drawing drawing)
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
330Drawing drawing)
System\Windows\Media\Generated\DrawingImage.cs (10)
76Drawing oldV = (Drawing) e.OldValue; 77Drawing newV = (Drawing) e.NewValue; 107public Drawing Drawing 111return (Drawing) GetValue(DrawingProperty); 160Drawing vDrawing = Drawing; 184Drawing vDrawing = Drawing; 201Drawing vDrawing = Drawing; 307typeof(Drawing),
System\Windows\Media\Generated\RenderData.cs (2)
1291(Drawing)DependentLookup(data->hDrawing) 1641(Drawing)DependentLookup(data->hDrawing)
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
734Drawing drawing)
System\Windows\Media\ImageBrush.cs (1)
55Drawing drawing = di.Drawing;
PresentationFramework (11)
MS\Internal\Ink\PenCursorManager.cs (6)
45Drawing penDrawing = CreatePenDrawing(drawingAttributes, isHollow, isRightToLeft, dpiScaleX, dpiScaleY); 104Drawing drawing = CreateStrokeEraserDrawing(); 197private static Cursor CreateCursorFromDrawing(Drawing drawing, Point hotspot) 246private static DrawingVisual CreateCursorDrawingVisual(Drawing drawing, int width, int height) 322private static Drawing CreatePenDrawing(DrawingAttributes drawingAttributes, bool isHollow, bool isRightToLeft, double dpiScaleX, double dpiScaleY) 432private static Drawing CreateStrokeEraserDrawing()
MS\Internal\PtsHost\Line.cs (2)
1069private static void AddGlyphRunRecursive(Drawing drawing, List<GlyphRun> glyphRunsCollection, ref int cchGlyphRuns) 1073foreach (Drawing child in group.Children)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
273case 179: t = () => typeof(System.Windows.Media.Drawing); break; // ambiguous
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3907typeof(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)
1411private static DrawingBrush CreateDrawingBrush(Drawing drawing, Rect bounds)
AlphaFlattener\Primitive.cs (1)
314internal static Primitive DrawingToPrimitive(System.Windows.Media.Drawing d, Matrix drawingToWorldTransformHint)
AlphaFlattener\Utility.cs (3)
1519public static DrawingBrush CreateNonInheritingDrawingBrush(Drawing drawing) 1929private static Visual CreateVisualFromDrawing(Drawing drawing) 2017Drawing drawing,
Serialization\VisualSerializer.cs (1)
588private void WriteDrawingBody(System.Windows.Media.Drawing drawing, Matrix worldTransform)
Serialization\VisualTreeFlattener.cs (4)
378static int Complexity(System.Windows.Media.Drawing drawing) 403foreach (System.Windows.Media.Drawing d in children) 434System.Windows.Media.Drawing content = VisualTreeHelper.GetDrawing(visual); 663internal void DrawingWalk(System.Windows.Media.Drawing d, Matrix drawingToWorldTransform)