Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / 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; DUCE.Channel _channel; public BitmapEffectDrawingContent(DrawingGroup g, RealizationContext ctx) { _channel = ctx.Channel; _group = g; } public void ExecuteRealizationsUpdate() { _group.RenderBitmapEffect(_channel); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------------- // // 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; DUCE.Channel _channel; public BitmapEffectDrawingContent(DrawingGroup g, RealizationContext ctx) { _channel = ctx.Channel; _group = g; } public void ExecuteRealizationsUpdate() { _group.RenderBitmapEffect(_channel); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadOnlyCollectionBase.cs
- XNodeValidator.cs
- Splitter.cs
- DataSourceControl.cs
- SslStream.cs
- GenerateHelper.cs
- X509Utils.cs
- BufferedGraphicsContext.cs
- CodeIdentifiers.cs
- ChameleonKey.cs
- IListConverters.cs
- Int16AnimationUsingKeyFrames.cs
- CachedTypeface.cs
- MemoryPressure.cs
- FormsAuthenticationConfiguration.cs
- Attributes.cs
- ProfileService.cs
- ScrollData.cs
- UpdateManifestForBrowserApplication.cs
- Operand.cs
- ParameterCollectionEditorForm.cs
- ColorTransformHelper.cs
- GeometryGroup.cs
- FormCollection.cs
- StatusBarPanelClickEvent.cs
- TrackingParameters.cs
- NavigationPropertyEmitter.cs
- SmiRecordBuffer.cs
- GeometryCollection.cs
- XsltSettings.cs
- PersistenceProvider.cs
- SystemFonts.cs
- PermissionRequestEvidence.cs
- ShapeTypeface.cs
- ProcessModelInfo.cs
- ObjectItemCachedAssemblyLoader.cs
- Point3DKeyFrameCollection.cs
- ResourceDisplayNameAttribute.cs
- PrefixQName.cs
- DataErrorValidationRule.cs
- NativeMethods.cs
- IList.cs
- BoundsDrawingContextWalker.cs
- TableRowCollection.cs
- SocketPermission.cs
- SemaphoreSecurity.cs
- mediaeventshelper.cs
- AsyncOperationManager.cs
- LinqDataSourceDeleteEventArgs.cs
- ReadOnlyNameValueCollection.cs
- MsmqMessageProperty.cs
- ImageListStreamer.cs
- ToolBar.cs
- XmlTextReader.cs
- Documentation.cs
- ExtensibleClassFactory.cs
- ContainerVisual.cs
- MetadataArtifactLoaderComposite.cs
- DataErrorValidationRule.cs
- TrustSection.cs
- CommandPlan.cs
- NativeCompoundFileAPIs.cs
- TextDecoration.cs
- ReadOnlyDictionary.cs
- TriggerCollection.cs
- x509store.cs
- StorageFunctionMapping.cs
- PassportIdentity.cs
- MouseWheelEventArgs.cs
- TextStore.cs
- CodeConstructor.cs
- TextElementCollectionHelper.cs
- webeventbuffer.cs
- XmlUtf8RawTextWriter.cs
- RtfToXamlLexer.cs
- AnimatedTypeHelpers.cs
- RtfToXamlLexer.cs
- QilLiteral.cs
- WorkflowApplicationEventArgs.cs
- AddressUtility.cs
- HttpSessionStateWrapper.cs
- EmptyEnumerable.cs
- IsolatedStoragePermission.cs
- StoreAnnotationsMap.cs
- SingleTagSectionHandler.cs
- WorkflowMarkupSerializationManager.cs
- Stack.cs
- DocumentGridContextMenu.cs
- XmlSchemaParticle.cs
- UpdateTranslator.cs
- InternalCache.cs
- VisualTreeHelper.cs
- SmiEventSink.cs
- ConfigurationManagerInternal.cs
- recordstatescratchpad.cs
- DateTimeStorage.cs
- ControlUtil.cs
- ChtmlCommandAdapter.cs
- HttpWriter.cs
- TransformerTypeCollection.cs