Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // //// 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
- MetadataArtifactLoaderComposite.cs
- WebSysDefaultValueAttribute.cs
- Deflater.cs
- SqlConnectionManager.cs
- ExpandSegment.cs
- HelloMessageCD1.cs
- ITextView.cs
- AssemblyUtil.cs
- Int32Animation.cs
- RecordBuilder.cs
- XmlMemberMapping.cs
- OleCmdHelper.cs
- LocalizableResourceBuilder.cs
- HttpRuntimeSection.cs
- XamlFilter.cs
- Single.cs
- FrameworkContentElementAutomationPeer.cs
- AnimatedTypeHelpers.cs
- HtmlHead.cs
- Stylus.cs
- NonClientArea.cs
- TabItemWrapperAutomationPeer.cs
- FilteredAttributeCollection.cs
- RegistryKey.cs
- DelegateHelpers.Generated.cs
- PageStatePersister.cs
- Mouse.cs
- MenuCommandsChangedEventArgs.cs
- TextPatternIdentifiers.cs
- CompilerGeneratedAttribute.cs
- ResourceReferenceExpression.cs
- TreeNodeCollection.cs
- AdjustableArrowCap.cs
- PathGradientBrush.cs
- HwndSubclass.cs
- DataIdProcessor.cs
- RegexCapture.cs
- OperationFormatUse.cs
- NamespaceList.cs
- RayMeshGeometry3DHitTestResult.cs
- DataGridColumn.cs
- RealizationContext.cs
- HttpServerUtilityWrapper.cs
- HijriCalendar.cs
- NominalTypeEliminator.cs
- XamlFigureLengthSerializer.cs
- RemoteWebConfigurationHostServer.cs
- InvalidPrinterException.cs
- UriExt.cs
- LinqTreeNodeEvaluator.cs
- SafePEFileHandle.cs
- ErrorFormatterPage.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- SuppressIldasmAttribute.cs
- PerformanceCountersBase.cs
- ReflectionUtil.cs
- BamlWriter.cs
- DuplicateMessageDetector.cs
- ActivityInstanceMap.cs
- ToolbarAUtomationPeer.cs
- XmlNotation.cs
- PropertyReferenceSerializer.cs
- Geometry.cs
- ParentControlDesigner.cs
- LifetimeServices.cs
- ExpandSegmentCollection.cs
- Cursor.cs
- Camera.cs
- AutomationEvent.cs
- SignedPkcs7.cs
- DataGridViewTextBoxCell.cs
- ListViewEditEventArgs.cs
- BindValidator.cs
- PagedDataSource.cs
- QueryResponse.cs
- XmlnsCompatibleWithAttribute.cs
- AttributeSetAction.cs
- FormatterConverter.cs
- TransformCollection.cs
- ColumnMapProcessor.cs
- SelectionList.cs
- StreamDocument.cs
- VirtualPathProvider.cs
- TransactionScope.cs
- ForwardPositionQuery.cs
- Binding.cs
- ProgressBarAutomationPeer.cs
- DirtyTextRange.cs
- ListItem.cs
- SiteMapDesignerDataSourceView.cs
- LateBoundBitmapDecoder.cs
- SapiAttributeParser.cs
- HtmlTableRowCollection.cs
- APCustomTypeDescriptor.cs
- PackageStore.cs
- ZeroOpNode.cs
- Padding.cs
- DataGridViewRowEventArgs.cs
- RangeValidator.cs
- RangeValidator.cs