Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewItemAutomationPeer.cs
- JsonEncodingStreamWrapper.cs
- ReferentialConstraint.cs
- BinaryMessageFormatter.cs
- SqlCacheDependencyDatabaseCollection.cs
- ParallelTimeline.cs
- KeyedHashAlgorithm.cs
- ConfigurationManager.cs
- SecurityKeyIdentifier.cs
- _BasicClient.cs
- DataContractSerializerSection.cs
- SqlResolver.cs
- InnerItemCollectionView.cs
- CroppedBitmap.cs
- _NativeSSPI.cs
- SqlUnionizer.cs
- LayoutSettings.cs
- XmlComplianceUtil.cs
- StrongNameIdentityPermission.cs
- Publisher.cs
- HttpResponse.cs
- BodyWriter.cs
- Int32AnimationBase.cs
- RuleRef.cs
- SelectorAutomationPeer.cs
- PropertyGeneratedEventArgs.cs
- TagMapCollection.cs
- SoapAttributes.cs
- DefaultShape.cs
- DateTimeUtil.cs
- ContentDefinition.cs
- XmlSerializationReader.cs
- MenuItemStyleCollection.cs
- ThrowHelper.cs
- CaseStatement.cs
- Parsers.cs
- ScriptResourceHandler.cs
- ExpressionLexer.cs
- documentation.cs
- FullTrustAssemblyCollection.cs
- ListItemDetailViewAttribute.cs
- NamespaceEmitter.cs
- Function.cs
- XmlNodeReader.cs
- ExtenderControl.cs
- ToolStripMenuItemDesigner.cs
- Repeater.cs
- ChangePassword.cs
- WindowsGrip.cs
- CodeGeneratorOptions.cs
- TripleDESCryptoServiceProvider.cs
- PermissionListSet.cs
- RangeExpression.cs
- SimpleExpression.cs
- EntityDataSourceContextCreatedEventArgs.cs
- ImplicitInputBrush.cs
- HttpConfigurationContext.cs
- Attribute.cs
- Style.cs
- ObjectContextServiceProvider.cs
- Literal.cs
- WebProxyScriptElement.cs
- TextProperties.cs
- ComplexObject.cs
- FormsAuthenticationEventArgs.cs
- DisplayNameAttribute.cs
- SiteIdentityPermission.cs
- UInt16Storage.cs
- AutoSizeComboBox.cs
- DeflateStream.cs
- BulletDecorator.cs
- PrintPageEvent.cs
- arc.cs
- StructuredTypeInfo.cs
- SafePEFileHandle.cs
- DataGridPageChangedEventArgs.cs
- String.cs
- GenericXmlSecurityToken.cs
- ObjectListDataBindEventArgs.cs
- TimeSpan.cs
- HashLookup.cs
- CommandDevice.cs
- MessageEventSubscriptionService.cs
- ResolveMatches11.cs
- PrintingPermissionAttribute.cs
- WindowsListViewItem.cs
- DeferredReference.cs
- GiveFeedbackEvent.cs
- SqlSelectStatement.cs
- ModifierKeysValueSerializer.cs
- SQlBooleanStorage.cs
- HashAlgorithm.cs
- SqlDataSourceCache.cs
- DBDataPermission.cs
- BinaryObjectWriter.cs
- base64Transforms.cs
- EventLogPermissionEntry.cs
- ToolStripContentPanelRenderEventArgs.cs
- TextRenderer.cs
- UnknownWrapper.cs