Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / RenderContext.cs / 1305600 / RenderContext.cs
//------------------------------------------------------------------------------ // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Accumulates state during a render pass of the scene. // //----------------------------------------------------------------------------- namespace System.Windows.Media { using System; using System.Windows.Threading; using System.Collections; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Runtime.InteropServices; using MS.Internal; ////// This class accumulates state during a render pass of the scene. /// internal sealed class RenderContext { // ------------------------------------------------------------------- // // Internal Constructors // // ------------------------------------------------------------------- #region Internal Constructors ////// Constructor /// internal RenderContext() { // Do nothing. } #endregion Internal Constructors // -------------------------------------------------------------------- // // Internal Properties // // ------------------------------------------------------------------- #region Internal Properties ////// Returns the current channel. /// internal DUCE.Channel Channel { get { return _channel; } } ////// Returns a handle to the root node, which is attached /// directly to a composition target /// internal DUCE.ResourceHandle Root { get { return _root; } } #endregion Internal Properties // -------------------------------------------------------------------- // // Internal Methods // // -------------------------------------------------------------------- #region Internal Methods ////// Initialize must be called before a frame is rendered. /// internal void Initialize( DUCE.Channel channel, DUCE.ResourceHandle root) { Debug.Assert(channel != null); _channel = channel; _root = root; } #endregion Internal Methods // ------------------------------------------------------------------- // // Private Fields // // -------------------------------------------------------------------- #region Private Fields ////// The current channel. /// private DUCE.Channel _channel; ////// The root node, attached directly to a composition target. /// private DUCE.ResourceHandle _root; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- safex509handles.cs
- DataSetMappper.cs
- Constants.cs
- RadialGradientBrush.cs
- backend.cs
- SelectedDatesCollection.cs
- AffineTransform3D.cs
- DocumentSchemaValidator.cs
- UrlMappingsSection.cs
- Documentation.cs
- SamlAssertionKeyIdentifierClause.cs
- UserControlCodeDomTreeGenerator.cs
- Helper.cs
- AnnotationResourceChangedEventArgs.cs
- User.cs
- HtmlTernaryTree.cs
- AxHost.cs
- DoWhile.cs
- ValueChangedEventManager.cs
- DataAdapter.cs
- HtmlContainerControl.cs
- CharKeyFrameCollection.cs
- WebPartTransformer.cs
- DirectoryObjectSecurity.cs
- SmuggledIUnknown.cs
- ImageKeyConverter.cs
- oledbconnectionstring.cs
- FieldCollectionEditor.cs
- WebHttpBinding.cs
- SqlReferenceCollection.cs
- NameValueCollection.cs
- SettingsAttributes.cs
- COM2IPerPropertyBrowsingHandler.cs
- Codec.cs
- FormsAuthenticationEventArgs.cs
- OleDbCommandBuilder.cs
- CategoryAttribute.cs
- WebPartConnectionsCancelVerb.cs
- EventDrivenDesigner.cs
- NameNode.cs
- DataGridAutoFormat.cs
- BamlLocalizabilityResolver.cs
- XslNumber.cs
- PropertyStore.cs
- RectAnimationClockResource.cs
- DirectoryInfo.cs
- ApplyTemplatesAction.cs
- HebrewCalendar.cs
- ContextMarshalException.cs
- Crc32Helper.cs
- PageThemeCodeDomTreeGenerator.cs
- SourceLocation.cs
- XmlSerializationReader.cs
- PropertyKey.cs
- BulletedList.cs
- ScriptDescriptor.cs
- FacetChecker.cs
- DataSourceProvider.cs
- ConfigurationValue.cs
- OdbcParameter.cs
- UnsafeNativeMethodsMilCoreApi.cs
- CodeTypeReferenceExpression.cs
- SmiRecordBuffer.cs
- EdmItemError.cs
- ProfileService.cs
- _NestedSingleAsyncResult.cs
- DispatcherEventArgs.cs
- HtmlFormAdapter.cs
- Utils.cs
- TextBlockAutomationPeer.cs
- DataGridViewImageCell.cs
- TextParagraphCache.cs
- SafeRightsManagementSessionHandle.cs
- ListItemParagraph.cs
- BmpBitmapEncoder.cs
- FieldTemplateFactory.cs
- NonSerializedAttribute.cs
- HttpHeaderCollection.cs
- WriterOutput.cs
- LZCodec.cs
- MapPathBasedVirtualPathProvider.cs
- SoapMessage.cs
- LayoutEditorPart.cs
- ItemAutomationPeer.cs
- RowUpdatedEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- AdRotator.cs
- CapacityStreamGeometryContext.cs
- FontStretchConverter.cs
- WindowInteropHelper.cs
- DataGridViewCellStyle.cs
- PixelFormatConverter.cs
- SqlPersonalizationProvider.cs
- DbModificationClause.cs
- DrawingContextDrawingContextWalker.cs
- PublishLicense.cs
- BrushValueSerializer.cs
- ApplicationFileParser.cs
- SystemDiagnosticsSection.cs
- HttpRequest.cs