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
- HandoffBehavior.cs
- ListBox.cs
- MainMenu.cs
- ConstraintEnumerator.cs
- Empty.cs
- UnderstoodHeaders.cs
- EventLogException.cs
- FocusTracker.cs
- StrokeNodeOperations.cs
- RuntimeHelpers.cs
- _SSPIWrapper.cs
- PackageRelationshipCollection.cs
- FactoryId.cs
- InvalidOleVariantTypeException.cs
- HtmlTextArea.cs
- TableRowGroup.cs
- PostBackOptions.cs
- SingleObjectCollection.cs
- DataTableClearEvent.cs
- ErrorHandler.cs
- RegexRunner.cs
- ExtensionDataReader.cs
- DomNameTable.cs
- MachineKeySection.cs
- UnionCodeGroup.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- XmlIlTypeHelper.cs
- ByteRangeDownloader.cs
- PageStatePersister.cs
- RuleElement.cs
- DataObjectSettingDataEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- _PooledStream.cs
- ObjectItemAttributeAssemblyLoader.cs
- Delegate.cs
- GiveFeedbackEvent.cs
- IPAddress.cs
- ParagraphResult.cs
- PassportAuthenticationEventArgs.cs
- ListBoxItem.cs
- DelayedRegex.cs
- DataReaderContainer.cs
- RequestQueryProcessor.cs
- XamlBuildTaskServices.cs
- CodeAssignStatement.cs
- GridItemPattern.cs
- BitmapFrameEncode.cs
- AddInController.cs
- _ListenerResponseStream.cs
- NumberFormatter.cs
- TypeExtensionConverter.cs
- ThumbButtonInfoCollection.cs
- DbReferenceCollection.cs
- TypeUtils.cs
- SimpleWorkerRequest.cs
- Int32Rect.cs
- DuplicateMessageDetector.cs
- XmlRootAttribute.cs
- Animatable.cs
- ControlValuePropertyAttribute.cs
- Util.cs
- CopyCodeAction.cs
- WmiEventSink.cs
- WeakHashtable.cs
- TextEditorParagraphs.cs
- Rect3D.cs
- InvokePattern.cs
- XmlEnumAttribute.cs
- WmpBitmapEncoder.cs
- IItemProperties.cs
- SequentialUshortCollection.cs
- ProgressChangedEventArgs.cs
- XamlTreeBuilder.cs
- Int32EqualityComparer.cs
- QueryCursorEventArgs.cs
- SupportingTokenProviderSpecification.cs
- Padding.cs
- StreamReader.cs
- DataKeyArray.cs
- DateTimeFormat.cs
- RtfToken.cs
- ActiveXContainer.cs
- ObjRef.cs
- Soap.cs
- Maps.cs
- ExpressionPrinter.cs
- MachineKeyConverter.cs
- ListChunk.cs
- WeakReference.cs
- ExtensionDataObject.cs
- UniqueIdentifierService.cs
- XmlChildEnumerator.cs
- XPathPatternBuilder.cs
- EntityDataSourceSelectingEventArgs.cs
- FieldToken.cs
- AuthorizationContext.cs
- DataColumnPropertyDescriptor.cs
- ExecutionContext.cs
- _StreamFramer.cs
- AvtEvent.cs