Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TimelineGroup.cs
- InvalidContentTypeException.cs
- MessageCredentialType.cs
- ClientRoleProvider.cs
- BaseCodePageEncoding.cs
- ReadOnlyDataSource.cs
- BindValidationContext.cs
- LinearGradientBrush.cs
- LightweightCodeGenerator.cs
- ProfileSection.cs
- XmlSchemaAttributeGroupRef.cs
- WebEventCodes.cs
- Propagator.Evaluator.cs
- StringUtil.cs
- DataGridViewImageCell.cs
- MenuBindingsEditorForm.cs
- AnnotationStore.cs
- ForeignKeyConstraint.cs
- ErasingStroke.cs
- XmlWrappingReader.cs
- EdmItemCollection.cs
- ServiceHostFactory.cs
- ControlIdConverter.cs
- FontInfo.cs
- MemoryPressure.cs
- TraceContextEventArgs.cs
- PropertyDescriptorComparer.cs
- SequenceNumber.cs
- IPEndPoint.cs
- ResourceProviderFactory.cs
- CompiledQueryCacheEntry.cs
- StorageConditionPropertyMapping.cs
- StylusPointCollection.cs
- ElementUtil.cs
- DBParameter.cs
- CodeParameterDeclarationExpression.cs
- CodeMemberProperty.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- TypeContext.cs
- StringSorter.cs
- VirtualizingStackPanel.cs
- ThicknessAnimation.cs
- Queue.cs
- SqlCrossApplyToCrossJoin.cs
- ToolStripDropDownClosedEventArgs.cs
- FunctionQuery.cs
- LambdaCompiler.Address.cs
- DesignTimeValidationFeature.cs
- DurableInstanceProvider.cs
- CounterSampleCalculator.cs
- EncodingNLS.cs
- MILUtilities.cs
- AssemblyHelper.cs
- CodeStatement.cs
- DataViewManager.cs
- RightsManagementPermission.cs
- TableRowGroup.cs
- XmlIterators.cs
- AlternateViewCollection.cs
- XhtmlBasicListAdapter.cs
- BitmapMetadataBlob.cs
- SamlEvidence.cs
- CFStream.cs
- ViewBase.cs
- StringWriter.cs
- FatalException.cs
- WebRequestModuleElement.cs
- DataQuery.cs
- COM2PropertyBuilderUITypeEditor.cs
- ElementsClipboardData.cs
- IERequestCache.cs
- RedirectionProxy.cs
- MeasurementDCInfo.cs
- SiteMapHierarchicalDataSourceView.cs
- Size3DConverter.cs
- CursorConverter.cs
- FontStyle.cs
- XmlSchemaAll.cs
- SelectorItemAutomationPeer.cs
- WebPartZoneCollection.cs
- PresentationAppDomainManager.cs
- BaseResourcesBuildProvider.cs
- VScrollProperties.cs
- MemoryFailPoint.cs
- PartitionedDataSource.cs
- DeflateStream.cs
- WebSysDisplayNameAttribute.cs
- WindowsAltTab.cs
- EventSchemaTraceListener.cs
- ServicePointManager.cs
- DefaultPrintController.cs
- EmbeddedMailObject.cs
- ExceptionRoutedEventArgs.cs
- ProcessProtocolHandler.cs
- XmlSchemaAttributeGroup.cs
- SystemIcons.cs
- FontCacheUtil.cs
- SizeIndependentAnimationStorage.cs
- DockProviderWrapper.cs
- ISO2022Encoding.cs