Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / MS / Internal / Ink / InkSerializedFormat / TransformDescriptor.cs / 1305600 / 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
- XmlJsonReader.cs
- EdmValidator.cs
- MemberPathMap.cs
- CultureSpecificStringDictionary.cs
- XmlElementCollection.cs
- HashStream.cs
- VirtualizedItemPattern.cs
- XmlChildNodes.cs
- TdsParserStaticMethods.cs
- PenThreadWorker.cs
- _LoggingObject.cs
- WorkflowMessageEventArgs.cs
- ServiceParser.cs
- SecurityKeyUsage.cs
- ImmutableAssemblyCacheEntry.cs
- ObjectDataSourceFilteringEventArgs.cs
- ConfigurationLoaderException.cs
- XPathEmptyIterator.cs
- XmlSerializerVersionAttribute.cs
- ComProxy.cs
- XmlAttributes.cs
- TextTabProperties.cs
- SafeEventLogReadHandle.cs
- ModuleBuilderData.cs
- Version.cs
- Baml2006ReaderFrame.cs
- Wizard.cs
- TextWriterTraceListener.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DecoderNLS.cs
- MasterPage.cs
- Dump.cs
- ZoneButton.cs
- ProviderIncompatibleException.cs
- TableRowCollection.cs
- TreeNodeCollectionEditorDialog.cs
- TrustManager.cs
- AspNetSynchronizationContext.cs
- SelectionPatternIdentifiers.cs
- AttachmentCollection.cs
- BitmapEffectInput.cs
- FilterInvalidBodyAccessException.cs
- DateTimeParse.cs
- _RequestCacheProtocol.cs
- XPathArrayIterator.cs
- IdentityNotMappedException.cs
- TemplateBamlTreeBuilder.cs
- QuadraticBezierSegment.cs
- ControlAdapter.cs
- DataGridViewAccessibleObject.cs
- MouseButtonEventArgs.cs
- ComboBox.cs
- CollectionType.cs
- ConfigurationManager.cs
- LocatorPartList.cs
- SourceInterpreter.cs
- GacUtil.cs
- ExpressionBindingCollection.cs
- ValidatorCollection.cs
- Duration.cs
- sortedlist.cs
- SchemaDeclBase.cs
- DrawToolTipEventArgs.cs
- WindowsStreamSecurityUpgradeProvider.cs
- MatrixUtil.cs
- RequestQueryParser.cs
- ExtenderProvidedPropertyAttribute.cs
- CodeTypeDeclarationCollection.cs
- SecurityContextCookieSerializer.cs
- KnownTypes.cs
- ICspAsymmetricAlgorithm.cs
- SystemIcmpV4Statistics.cs
- Logging.cs
- SymbolType.cs
- BitmapPalette.cs
- TreeViewBindingsEditorForm.cs
- SettingsPropertyCollection.cs
- DebugView.cs
- PipeStream.cs
- BitmapCache.cs
- OrderedDictionary.cs
- ArrayTypeMismatchException.cs
- ImageListUtils.cs
- LogicalMethodInfo.cs
- CompilationPass2Task.cs
- _ListenerRequestStream.cs
- IntegerFacetDescriptionElement.cs
- BoundingRectTracker.cs
- GeneratedView.cs
- IdnMapping.cs
- SemanticAnalyzer.cs
- PageAsyncTaskManager.cs
- DeviceSpecificDesigner.cs
- AssemblyName.cs
- ErrorStyle.cs
- CharacterBuffer.cs
- _NetRes.cs
- CryptoHelper.cs
- Accessors.cs
- LineServicesRun.cs