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