Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CipherData.cs
- TextTreeText.cs
- BackgroundWorker.cs
- RewritingValidator.cs
- PtsPage.cs
- ZoneMembershipCondition.cs
- TemplatePropertyEntry.cs
- PropertyEmitterBase.cs
- ExtensionWindowResizeGrip.cs
- GetBrowserTokenRequest.cs
- SmtpFailedRecipientsException.cs
- SelectionHighlightInfo.cs
- WmlCommandAdapter.cs
- UDPClient.cs
- webeventbuffer.cs
- _NtlmClient.cs
- TransformGroup.cs
- StrokeCollectionDefaultValueFactory.cs
- RIPEMD160.cs
- LinqExpressionNormalizer.cs
- ColumnWidthChangingEvent.cs
- HttpServerVarsCollection.cs
- AtomEntry.cs
- WindowsListViewSubItem.cs
- HasCopySemanticsAttribute.cs
- MetaModel.cs
- ProcessHost.cs
- DeviceSpecificDialogCachedState.cs
- Set.cs
- ToolStripSettings.cs
- LambdaCompiler.ControlFlow.cs
- AutomationPeer.cs
- categoryentry.cs
- XPathNodeInfoAtom.cs
- LogStore.cs
- CreateUserErrorEventArgs.cs
- LockRecursionException.cs
- TableItemStyle.cs
- DbParameterHelper.cs
- FormParameter.cs
- SemaphoreFullException.cs
- DynamicILGenerator.cs
- PlacementWorkspace.cs
- BlurEffect.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Range.cs
- WebBrowserDesigner.cs
- DefaultWorkflowSchedulerService.cs
- Content.cs
- SigningCredentials.cs
- TextDecorationLocationValidation.cs
- Util.cs
- CultureInfoConverter.cs
- TypeInfo.cs
- NotCondition.cs
- CodeDirectoryCompiler.cs
- AspProxy.cs
- MessagePropertyFilter.cs
- PersonalizablePropertyEntry.cs
- AssociationSetEnd.cs
- DateTimeStorage.cs
- ZipFileInfo.cs
- StringSource.cs
- ControlDesignerState.cs
- AssociatedControlConverter.cs
- AuthenticationSection.cs
- XmlDocument.cs
- WebBrowserNavigatedEventHandler.cs
- SvcMapFileLoader.cs
- TTSVoice.cs
- X509Chain.cs
- AspNetSynchronizationContext.cs
- GridEntryCollection.cs
- WrapperSecurityCommunicationObject.cs
- FrameworkObject.cs
- ConfigurationElement.cs
- DataRecord.cs
- TextStore.cs
- ConsoleTraceListener.cs
- GridViewRowPresenterBase.cs
- EventLogger.cs
- Rfc2898DeriveBytes.cs
- _WinHttpWebProxyDataBuilder.cs
- MemberBinding.cs
- SystemIPInterfaceStatistics.cs
- SourceInterpreter.cs
- PlatformCulture.cs
- ProcessHostFactoryHelper.cs
- SafeProcessHandle.cs
- StrokeDescriptor.cs
- CategoryGridEntry.cs
- XPathNodeInfoAtom.cs
- Lasso.cs
- SearchForVirtualItemEventArgs.cs
- StrongNameKeyPair.cs
- xamlnodes.cs
- DataContractAttribute.cs
- MissingFieldException.cs
- XmlSiteMapProvider.cs
- TypedReference.cs