| File: System\Windows\Media\DrawingContextDrawingContextWalker.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // // Description: DrawingContextDrawingContextWalker is a DrawingContextWalker // that forwards all of it's calls to a DrawingContext. // namespace System.Windows.Media { /// <summary> /// DrawingContextDrawingContextWalker is a DrawingContextWalker /// that forwards all of it's calls to a DrawingContext. /// </summary> internal partial class DrawingContextDrawingContextWalker: DrawingContextWalker { /// <summary> /// Constructor for DrawingContextDrawingContextWalker - this constructor accepts the /// DrawingContext it should forward calls to. /// </summary> /// <param name="drawingContext"> DrawingContext - the DrawingContext to forward calls to </param> public DrawingContextDrawingContextWalker(DrawingContext drawingContext) { Debug.Assert (drawingContext != null); _drawingContext = drawingContext; } // DrawingContext to forward calls to private DrawingContext _drawingContext; } }