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
- ObjectToModelValueConverter.cs
- SByteConverter.cs
- DocumentSchemaValidator.cs
- IdentitySection.cs
- MdbDataFileEditor.cs
- XmlBinaryReader.cs
- SingleResultAttribute.cs
- TagMapCollection.cs
- DispatcherHookEventArgs.cs
- TextRangeBase.cs
- BamlLocalizableResource.cs
- IncrementalReadDecoders.cs
- MembershipPasswordException.cs
- XmlSchemaComplexType.cs
- FrameworkElementFactory.cs
- XmlQueryType.cs
- VScrollBar.cs
- UserInitiatedRoutedEventPermission.cs
- BackgroundFormatInfo.cs
- JoinElimination.cs
- UnsafeNativeMethods.cs
- Expression.cs
- SelectionGlyphBase.cs
- UnauthorizedAccessException.cs
- FormatSettings.cs
- SecureStringHasher.cs
- RegexRunner.cs
- Geometry3D.cs
- FloatMinMaxAggregationOperator.cs
- TextRunCache.cs
- CodeTypeDeclarationCollection.cs
- MsmqChannelFactory.cs
- ToolStripDropDownClosingEventArgs.cs
- SqlCommandSet.cs
- RecordConverter.cs
- RemotingException.cs
- Polyline.cs
- Point3DIndependentAnimationStorage.cs
- WebSysDefaultValueAttribute.cs
- Knowncolors.cs
- XmlQueryStaticData.cs
- Atom10ItemFormatter.cs
- DoubleAnimation.cs
- DefaultValueAttribute.cs
- WebConfigurationHost.cs
- CompositeScriptReference.cs
- PanningMessageFilter.cs
- CompilerCollection.cs
- JournalEntryListConverter.cs
- UnauthorizedWebPart.cs
- PageParserFilter.cs
- EventWaitHandleSecurity.cs
- OrderPreservingMergeHelper.cs
- CorrelationManager.cs
- FromRequest.cs
- OleDbError.cs
- StylusTip.cs
- TextChangedEventArgs.cs
- CompilerWrapper.cs
- NameTable.cs
- DropSource.cs
- ErrorReporting.cs
- PropertyGrid.cs
- ErrorRuntimeConfig.cs
- SimpleLine.cs
- Point4D.cs
- SyndicationItemFormatter.cs
- GuidTagList.cs
- FontFaceLayoutInfo.cs
- Types.cs
- GeometryCollection.cs
- TextServicesLoader.cs
- TextWriterTraceListener.cs
- UInt32Converter.cs
- SlotInfo.cs
- smtpconnection.cs
- Function.cs
- DataSysAttribute.cs
- ConstantExpression.cs
- XhtmlConformanceSection.cs
- XamlStream.cs
- ValuePattern.cs
- Util.cs
- ClientType.cs
- DiscoveryMessageSequence.cs
- FileLogRecordHeader.cs
- FileUtil.cs
- ExpressionBuilder.cs
- CustomAttributeFormatException.cs
- precedingquery.cs
- IPHostEntry.cs
- DataGridColumnFloatingHeader.cs
- DBConnectionString.cs
- ServiceModelSectionGroup.cs
- FamilyTypeface.cs
- SizeConverter.cs
- AssociationSet.cs
- Annotation.cs
- ConnectionConsumerAttribute.cs
- PageRequestManager.cs