Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / MatrixTransform3D.cs / 1305600 / MatrixTransform3D.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D matrix transform. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/04/2003 : t-gregr - Created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Composition; using MS.Internal; using System.ComponentModel.Design.Serialization; using System.Windows.Markup; namespace System.Windows.Media.Media3D { ////// 3D matrix transform. /// public sealed partial class MatrixTransform3D : Transform3D { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Default constructor. /// public MatrixTransform3D() { } ////// Constructor. /// /// Matrix. public MatrixTransform3D(Matrix3D matrix) { Matrix = matrix; } #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties ////// Retrieves matrix representation of transform. /// public override Matrix3D Value { get { return Matrix; } } ////// Whether the transform is affine. /// public override bool IsAffine { get { return Matrix.IsAffine; } } #endregion Public Properties internal override void Append(ref Matrix3D matrix) { matrix = matrix * Matrix; } } } // 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: 3D matrix transform. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/04/2003 : t-gregr - Created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Composition; using MS.Internal; using System.ComponentModel.Design.Serialization; using System.Windows.Markup; namespace System.Windows.Media.Media3D { ////// 3D matrix transform. /// public sealed partial class MatrixTransform3D : Transform3D { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Default constructor. /// public MatrixTransform3D() { } ////// Constructor. /// /// Matrix. public MatrixTransform3D(Matrix3D matrix) { Matrix = matrix; } #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties ////// Retrieves matrix representation of transform. /// public override Matrix3D Value { get { return Matrix; } } ////// Whether the transform is affine. /// public override bool IsAffine { get { return Matrix.IsAffine; } } #endregion Public Properties internal override void Append(ref Matrix3D matrix) { matrix = matrix * Matrix; } } } // 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
- AnnotationService.cs
- OletxVolatileEnlistment.cs
- ClientProxyGenerator.cs
- PermissionAttributes.cs
- HttpHandlerAction.cs
- EventProperty.cs
- TagNameToTypeMapper.cs
- UnitySerializationHolder.cs
- keycontainerpermission.cs
- UInt16Storage.cs
- XpsSerializationManagerAsync.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ColorPalette.cs
- ExceptionNotification.cs
- Propagator.Evaluator.cs
- HelpProvider.cs
- PageContentAsyncResult.cs
- TextStore.cs
- BindingExpressionBase.cs
- SecurityDocument.cs
- AccessViolationException.cs
- XmlNodeComparer.cs
- CultureTable.cs
- HandoffBehavior.cs
- RuntimeEnvironment.cs
- XmlAttributes.cs
- BaseTemplateParser.cs
- Math.cs
- TypeSystemHelpers.cs
- Query.cs
- ForEachAction.cs
- _TransmitFileOverlappedAsyncResult.cs
- PropertyConverter.cs
- EraserBehavior.cs
- XmlArrayAttribute.cs
- XmlSchemaComplexType.cs
- InlineUIContainer.cs
- XsltQilFactory.cs
- PropertyEmitterBase.cs
- DataTablePropertyDescriptor.cs
- ImageClickEventArgs.cs
- SqlBuilder.cs
- HtmlTernaryTree.cs
- MouseGestureValueSerializer.cs
- XmlSchemaExporter.cs
- SelectorItemAutomationPeer.cs
- _ChunkParse.cs
- TemplateField.cs
- EditorPartChrome.cs
- DesignerDataConnection.cs
- ImportCatalogPart.cs
- CompModSwitches.cs
- ListItemCollection.cs
- VersionPair.cs
- DescendantOverDescendantQuery.cs
- SecurityTokenAuthenticator.cs
- HttpRequest.cs
- ProcessModelInfo.cs
- Pair.cs
- TreeViewImageKeyConverter.cs
- HealthMonitoringSection.cs
- DataGridViewIntLinkedList.cs
- TabletCollection.cs
- TypedAsyncResult.cs
- ListControlConvertEventArgs.cs
- ConfigurationSection.cs
- WebBrowserUriTypeConverter.cs
- DiscoveryInnerClientAdhocCD1.cs
- EventProperty.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- OnOperation.cs
- RIPEMD160.cs
- ConvertEvent.cs
- DesignTimeSiteMapProvider.cs
- ImmutableObjectAttribute.cs
- TextureBrush.cs
- PointHitTestResult.cs
- GlobalAclOperationRequirement.cs
- SerializerProvider.cs
- WebPartManagerInternals.cs
- X509RecipientCertificateClientElement.cs
- NavigatorOutput.cs
- GenericTextProperties.cs
- OdbcEnvironmentHandle.cs
- ValidationSummary.cs
- ModelItemCollection.cs
- Int64AnimationBase.cs
- TreeNodeStyle.cs
- PropertyDescriptorCollection.cs
- XmlSubtreeReader.cs
- NotificationContext.cs
- Script.cs
- WindowsRegion.cs
- LayoutSettings.cs
- BindingContext.cs
- DataDocumentXPathNavigator.cs
- JapaneseLunisolarCalendar.cs
- DataRow.cs
- PlatformCulture.cs
- ExtentKey.cs