BitmapEffectDrawingContent.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Effects / BitmapEffectDrawingContent.cs / 1 / BitmapEffectDrawingContent.cs

                            //---------------------------------------------------------------------------- 
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Description: BitmapEffectDrawingContent is used by DrawingGroup to 
//              hold the information for the scheduled realization updates
// 
// 
//---------------------------------------------------------------------------
 
using System;
using System.Windows.Threading;

using MS.Win32; 
using System.Windows.Media;
using System.Windows.Media.Imaging; 
using System.Windows.Media.Animation; 
using System.Windows.Media.Composition;
using System.Windows.Media.Effects; 
using System.Collections;
using System.Collections.Generic;
using MS.Internal;
using MS.Internal.Media; 
using System.Resources;
using MS.Utility; 
 
namespace System.Windows.Media.Effects
{ 
    /// 
    /// This class is used to realize the content of the
    /// drawing group if a bitmap effect is applied to it
    ///  
    internal class BitmapEffectDrawingContent : IRealizationContextClient
    { 
        DrawingGroup _group; 
        List _channels;
 
        public BitmapEffectDrawingContent(DrawingGroup g, RealizationContext ctx)
        {
            _channels = ctx.Channels;
            _group = g; 
        }
 
        public void ExecuteRealizationsUpdate() 
        {
            _group.RenderBitmapEffect(_channels); 
        }
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK