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
- XmlEnumAttribute.cs
- CommandTreeTypeHelper.cs
- DiscoveryUtility.cs
- LayoutTableCell.cs
- ChtmlCommandAdapter.cs
- OdbcDataReader.cs
- CounterSampleCalculator.cs
- SecurityUtils.cs
- CommandEventArgs.cs
- mda.cs
- TypeResolver.cs
- DefaultDialogButtons.cs
- BamlTreeUpdater.cs
- ChangeTracker.cs
- ScriptReferenceEventArgs.cs
- XmlUTF8TextWriter.cs
- TextEditorSpelling.cs
- StringDictionary.cs
- SHA1CryptoServiceProvider.cs
- DesignerOptionService.cs
- CachedFontFamily.cs
- Soap.cs
- BitmapSizeOptions.cs
- ElementMarkupObject.cs
- SerializableAttribute.cs
- MissingManifestResourceException.cs
- DataPointer.cs
- ContentPropertyAttribute.cs
- ContextTokenTypeConverter.cs
- SoapSchemaImporter.cs
- HeaderPanel.cs
- CqlGenerator.cs
- Oci.cs
- LocatorPart.cs
- CharEntityEncoderFallback.cs
- Debug.cs
- XmlNodeComparer.cs
- VarRemapper.cs
- QilInvokeLateBound.cs
- AsyncResult.cs
- ImageInfo.cs
- StructuralType.cs
- ServiceBusyException.cs
- SqlPersonalizationProvider.cs
- CapabilitiesSection.cs
- MenuRendererClassic.cs
- VSWCFServiceContractGenerator.cs
- ReaderWriterLockWrapper.cs
- AuthenticationService.cs
- XmlWrappingReader.cs
- Attributes.cs
- KeyValueConfigurationElement.cs
- AddInDeploymentState.cs
- DesignUtil.cs
- GridEntry.cs
- BeginStoryboard.cs
- METAHEADER.cs
- Transform.cs
- XsdBuildProvider.cs
- HtmlTextArea.cs
- TreeNodeStyleCollection.cs
- Int64Storage.cs
- GC.cs
- EntityCommandDefinition.cs
- PropertyValueUIItem.cs
- WorkflowService.cs
- HttpAsyncResult.cs
- HttpModulesSection.cs
- AnimatedTypeHelpers.cs
- DataControlCommands.cs
- TraceUtility.cs
- MatcherBuilder.cs
- SQLBytesStorage.cs
- FlowDocumentPaginator.cs
- GlobalItem.cs
- CollectionsUtil.cs
- CallInfo.cs
- RegexReplacement.cs
- base64Transforms.cs
- EntityDataSourceViewSchema.cs
- HwndHostAutomationPeer.cs
- UInt32Storage.cs
- ObjectPropertyMapping.cs
- StandardCommands.cs
- WebPartConnectionsCloseVerb.cs
- OleDbPropertySetGuid.cs
- AssemblyBuilder.cs
- TileBrush.cs
- Double.cs
- ImmComposition.cs
- ConsoleTraceListener.cs
- DependencyObjectType.cs
- Bezier.cs
- BidPrivateBase.cs
- CodeGroup.cs
- _HeaderInfoTable.cs
- DataGridViewIntLinkedList.cs
- RegexFCD.cs
- BeginEvent.cs
- DateTimeStorage.cs