Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / MS / Internal / Ink / InkSerializedFormat / TransformDescriptor.cs / 1 / TransformDescriptor.cs
//------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- // Primary root namespace for TabletPC/Ink/Handwriting/Recognition in .NET namespace MS.Internal.Ink.InkSerializedFormat { internal class TransformDescriptor { private double[] _transform = new double[6]; private uint _size = 0; private KnownTagCache.KnownTagIndex _tag = KnownTagCache.KnownTagIndex.Unknown; public KnownTagCache.KnownTagIndex Tag { get { return _tag; } set { _tag = value; } } public uint Size { get { return _size; } set { _size = value; } } public double[] Transform { get { return _transform; } } public bool Compare(TransformDescriptor that) { if( that.Tag == Tag ) { if( that.Size == _size ) { for( int i = 0; i < _size; i++ ) { if( !DoubleUtil.AreClose(that.Transform[i], _transform[i] )) return false; } return true; } else return false; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- // Primary root namespace for TabletPC/Ink/Handwriting/Recognition in .NET namespace MS.Internal.Ink.InkSerializedFormat { internal class TransformDescriptor { private double[] _transform = new double[6]; private uint _size = 0; private KnownTagCache.KnownTagIndex _tag = KnownTagCache.KnownTagIndex.Unknown; public KnownTagCache.KnownTagIndex Tag { get { return _tag; } set { _tag = value; } } public uint Size { get { return _size; } set { _size = value; } } public double[] Transform { get { return _transform; } } public bool Compare(TransformDescriptor that) { if( that.Tag == Tag ) { if( that.Size == _size ) { for( int i = 0; i < _size; i++ ) { if( !DoubleUtil.AreClose(that.Transform[i], _transform[i] )) return false; } return true; } else return false; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PlacementWorkspace.cs
- SqlDataSourceCache.cs
- CommandEventArgs.cs
- XmlSchemaFacet.cs
- BindingOperations.cs
- DataRowChangeEvent.cs
- IdentityReference.cs
- RightsManagementInformation.cs
- ManipulationDeltaEventArgs.cs
- PrePrepareMethodAttribute.cs
- Models.cs
- QilXmlWriter.cs
- ElementUtil.cs
- SerialStream.cs
- AnonymousIdentificationSection.cs
- DataColumnCollection.cs
- SqlStatistics.cs
- DataBoundControlAdapter.cs
- TrackingStringDictionary.cs
- TypeCollectionDesigner.xaml.cs
- UiaCoreApi.cs
- BindableAttribute.cs
- path.cs
- AliasExpr.cs
- TextBoxView.cs
- ClientSettings.cs
- MSAANativeProvider.cs
- ServicePointManager.cs
- ICollection.cs
- XsltException.cs
- SpotLight.cs
- ListViewItemEventArgs.cs
- WriteableOnDemandPackagePart.cs
- InstanceData.cs
- SecuritySessionServerSettings.cs
- SqlSelectClauseBuilder.cs
- RegexRunnerFactory.cs
- DataGridViewEditingControlShowingEventArgs.cs
- Pts.cs
- ObjectComplexPropertyMapping.cs
- Selector.cs
- IsolatedStoragePermission.cs
- BindingContext.cs
- TextAutomationPeer.cs
- PageTrueTypeFont.cs
- InstanceContext.cs
- ParserContext.cs
- VirtualDirectoryMappingCollection.cs
- DataGridViewComponentPropertyGridSite.cs
- Utils.cs
- SectionRecord.cs
- CompModSwitches.cs
- OdbcRowUpdatingEvent.cs
- ListViewDeletedEventArgs.cs
- IgnorePropertiesAttribute.cs
- ResourceDefaultValueAttribute.cs
- Queue.cs
- TextParagraphView.cs
- TypeDescriptionProviderAttribute.cs
- Internal.cs
- CultureTableRecord.cs
- TitleStyle.cs
- ProcessDesigner.cs
- Internal.cs
- TabItemWrapperAutomationPeer.cs
- Matrix.cs
- OutputCacheModule.cs
- SchemaTypeEmitter.cs
- Propagator.ExtentPlaceholderCreator.cs
- EventHandlers.cs
- SessionState.cs
- FormParameter.cs
- DropDownButton.cs
- ReaderWriterLockSlim.cs
- PeerReferralPolicy.cs
- XmlnsCache.cs
- ApplicationSecurityInfo.cs
- AggregatePushdown.cs
- BaseProcessor.cs
- WebPartAddingEventArgs.cs
- SqlConnectionManager.cs
- ServiceDescriptionImporter.cs
- EntityStoreSchemaGenerator.cs
- DBSchemaTable.cs
- KeyGesture.cs
- PerfCounterSection.cs
- TextContainerChangedEventArgs.cs
- StreamGeometryContext.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ConfigurationElementProperty.cs
- EncryptedKey.cs
- ConditionalBranch.cs
- EllipseGeometry.cs
- UserUseLicenseDictionaryLoader.cs
- TabPageDesigner.cs
- Utils.cs
- ConstrainedDataObject.cs
- CompiledAction.cs
- FlatButtonAppearance.cs
- HtmlGenericControl.cs