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
- CollectionDataContractAttribute.cs
- FilteredDataSetHelper.cs
- XsdBuilder.cs
- AnnotationResourceChangedEventArgs.cs
- UniqueEventHelper.cs
- MinimizableAttributeTypeConverter.cs
- SwitchElementsCollection.cs
- RNGCryptoServiceProvider.cs
- ItemCheckEvent.cs
- ExecutionEngineException.cs
- ConfigurationSectionCollection.cs
- Assembly.cs
- HandoffBehavior.cs
- PrePrepareMethodAttribute.cs
- AsyncOperation.cs
- ToolStripContainerDesigner.cs
- TextAdaptor.cs
- HttpHandlersSection.cs
- TimestampInformation.cs
- XmlSchemaGroup.cs
- SpeakInfo.cs
- SoapIgnoreAttribute.cs
- DataGridViewHitTestInfo.cs
- BindingCollection.cs
- RichTextBox.cs
- SoapSchemaExporter.cs
- RegexStringValidatorAttribute.cs
- WorkflowViewElement.cs
- DataSourceXmlAttributeAttribute.cs
- TreeViewBindingsEditor.cs
- TreeNodeStyleCollection.cs
- PropertyTab.cs
- DateTimeSerializationSection.cs
- FtpWebRequest.cs
- FillErrorEventArgs.cs
- Missing.cs
- WebCategoryAttribute.cs
- DefaultProxySection.cs
- XmlEnumAttribute.cs
- RTTypeWrapper.cs
- WebPartsPersonalizationAuthorization.cs
- WSSecurityPolicy11.cs
- EventEntry.cs
- Rfc2898DeriveBytes.cs
- DirectoryObjectSecurity.cs
- StylusShape.cs
- FontSizeConverter.cs
- clipboard.cs
- HelpExampleGenerator.cs
- VirtualPathProvider.cs
- SchemaEntity.cs
- AssociationSetMetadata.cs
- SpecularMaterial.cs
- UnknownBitmapDecoder.cs
- HelpProvider.cs
- CqlErrorHelper.cs
- AppAction.cs
- ContextMenu.cs
- MissingManifestResourceException.cs
- OleDbParameterCollection.cs
- WorkItem.cs
- EmptyEnumerable.cs
- FontUnitConverter.cs
- Transform3DGroup.cs
- HashHelpers.cs
- TagMapInfo.cs
- DataGridViewCellValueEventArgs.cs
- Single.cs
- TiffBitmapDecoder.cs
- TablePattern.cs
- CoTaskMemUnicodeSafeHandle.cs
- SynchronousChannelMergeEnumerator.cs
- ToolTipAutomationPeer.cs
- PluggableProtocol.cs
- CodeArrayCreateExpression.cs
- DecimalKeyFrameCollection.cs
- SetIterators.cs
- XmlEntityReference.cs
- StorageEndPropertyMapping.cs
- OfTypeExpression.cs
- StreamReader.cs
- ConstraintStruct.cs
- SqlDataSourceCache.cs
- KeyPressEvent.cs
- Environment.cs
- IndicFontClient.cs
- ListViewDataItem.cs
- SmtpReplyReader.cs
- GridViewDeleteEventArgs.cs
- RowUpdatedEventArgs.cs
- Effect.cs
- AssertHelper.cs
- DebugControllerThread.cs
- SpotLight.cs
- SafeUserTokenHandle.cs
- FrugalMap.cs
- XmlSiteMapProvider.cs
- DrawListViewColumnHeaderEventArgs.cs
- XmlAttributeAttribute.cs
- ByteConverter.cs