Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- HttpCookie.cs
- AnimationStorage.cs
- DistributedTransactionPermission.cs
- mediaclock.cs
- LeftCellWrapper.cs
- DecimalAnimationUsingKeyFrames.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- ViewCellSlot.cs
- ToolStripComboBox.cs
- CounterSample.cs
- RotationValidation.cs
- XmlCountingReader.cs
- SqlDependencyListener.cs
- SslStream.cs
- WindowAutomationPeer.cs
- XPathExpr.cs
- SyncOperationState.cs
- TextDecorationCollectionConverter.cs
- ConnectionInterfaceCollection.cs
- MdbDataFileEditor.cs
- PartBasedPackageProperties.cs
- SystemNetworkInterface.cs
- WhitespaceRule.cs
- DataBindingList.cs
- OutOfMemoryException.cs
- URLAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ToolStripDropDown.cs
- PipeStream.cs
- SiteMapHierarchicalDataSourceView.cs
- ImageField.cs
- Byte.cs
- KeyValuePair.cs
- TextCollapsingProperties.cs
- SecurityTokenTypes.cs
- UnauthorizedAccessException.cs
- PropertyGridEditorPart.cs
- HtmlShimManager.cs
- SmtpNetworkElement.cs
- xml.cs
- InlineUIContainer.cs
- Literal.cs
- FieldToken.cs
- RepeatBehaviorConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- PagesChangedEventArgs.cs
- CodeTypeMember.cs
- ColorBuilder.cs
- SimpleApplicationHost.cs
- typedescriptorpermission.cs
- CmsInterop.cs
- _BaseOverlappedAsyncResult.cs
- ListViewInsertionMark.cs
- UidPropertyAttribute.cs
- RuntimeResourceSet.cs
- DecimalConstantAttribute.cs
- TextOutput.cs
- MD5HashHelper.cs
- ServiceReference.cs
- IpcServerChannel.cs
- WindowsSspiNegotiation.cs
- RegexCompilationInfo.cs
- Normalization.cs
- FixedPageProcessor.cs
- Span.cs
- LinearQuaternionKeyFrame.cs
- Expr.cs
- embossbitmapeffect.cs
- WebMessageEncodingBindingElement.cs
- SessionPageStatePersister.cs
- HtmlInputText.cs
- SQLInt64.cs
- SoapTransportImporter.cs
- JsonObjectDataContract.cs
- GacUtil.cs
- SQLInt16.cs
- PluggableProtocol.cs
- ProviderBase.cs
- DBDataPermission.cs
- InfoCardBaseException.cs
- MultipleViewProviderWrapper.cs
- ScaleTransform.cs
- Point3DCollectionConverter.cs
- _IPv6Address.cs
- MenuEventArgs.cs
- UIElementAutomationPeer.cs
- Style.cs
- SQLBinary.cs
- Rect3DValueSerializer.cs
- HandoffBehavior.cs
- X509CertificateInitiatorClientCredential.cs
- FrameworkTemplate.cs
- LogicalExpr.cs
- DoubleCollection.cs
- ToolStripDropDownItem.cs
- SchemaMapping.cs
- coordinatorscratchpad.cs
- BookmarkResumptionRecord.cs
- MarshalDirectiveException.cs
- HtmlImage.cs