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 / RenderContext.cs / 1 / 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. //------------------------------------------------------------------------------ // //// 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
- OverrideMode.cs
- DataReaderContainer.cs
- StylusPlugin.cs
- VisualStyleElement.cs
- SapiRecoContext.cs
- NamespaceQuery.cs
- TcpChannelListener.cs
- SimpleFieldTemplateUserControl.cs
- ValidatingReaderNodeData.cs
- ConfigurationValues.cs
- RegexEditorDialog.cs
- ListItemCollection.cs
- KeyNotFoundException.cs
- ReflectionTypeLoadException.cs
- XmlDownloadManager.cs
- CheckBox.cs
- ReaderOutput.cs
- PropertyDescriptorGridEntry.cs
- EarlyBoundInfo.cs
- ClientTarget.cs
- SctClaimDictionary.cs
- TextTreeRootTextBlock.cs
- Win32PrintDialog.cs
- SqlXmlStorage.cs
- StylusPointProperty.cs
- BufferedResponseStream.cs
- FixedPageAutomationPeer.cs
- SelectedDatesCollection.cs
- DateTimeOffsetAdapter.cs
- BuilderInfo.cs
- ReferenceSchema.cs
- SHA256Cng.cs
- ParseNumbers.cs
- BitmapEffectState.cs
- CompareInfo.cs
- AnnotationComponentManager.cs
- BinaryMethodMessage.cs
- JoinTreeNode.cs
- XmlChoiceIdentifierAttribute.cs
- PackagingUtilities.cs
- Base64Decoder.cs
- RoutedCommand.cs
- IsolatedStorageFilePermission.cs
- CmsUtils.cs
- SoapEnumAttribute.cs
- DynamicObjectAccessor.cs
- ToolStripSeparatorRenderEventArgs.cs
- InputProcessorProfiles.cs
- BufferBuilder.cs
- ParseElementCollection.cs
- ListViewHitTestInfo.cs
- Splitter.cs
- DateRangeEvent.cs
- ExpressionBindingCollection.cs
- RoleGroup.cs
- PageAsyncTaskManager.cs
- Freezable.cs
- SqlMethodTransformer.cs
- SqlErrorCollection.cs
- EdmProviderManifest.cs
- WebEventTraceProvider.cs
- AssemblyBuilder.cs
- XPathNode.cs
- DocumentGrid.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SqlDataSourceCache.cs
- EastAsianLunisolarCalendar.cs
- ProfileProvider.cs
- QueryStatement.cs
- NotifyParentPropertyAttribute.cs
- xmlsaver.cs
- Accessors.cs
- BlurEffect.cs
- SineEase.cs
- storepermissionattribute.cs
- TextTreeText.cs
- CombinedGeometry.cs
- CopyOfAction.cs
- PropertyDescriptorGridEntry.cs
- DefaultTextStore.cs
- ListViewDeletedEventArgs.cs
- FixedMaxHeap.cs
- SystemParameters.cs
- ValuePattern.cs
- HttpCacheParams.cs
- DesignerTextWriter.cs
- CollectionBuilder.cs
- SqlMethodAttribute.cs
- HashHelper.cs
- HttpWebResponse.cs
- PermissionSetTriple.cs
- WebPartVerbCollection.cs
- XmlDomTextWriter.cs
- WindowsScroll.cs
- SuppressIldasmAttribute.cs
- GridViewDeletedEventArgs.cs
- InstanceHandleConflictException.cs
- InputBinding.cs
- SqlCommandBuilder.cs
- TypeListConverter.cs