// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
// 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;
}
}
|