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
- ConnectionManagementElement.cs
- PixelFormats.cs
- System.Data.OracleClient_BID.cs
- Knowncolors.cs
- ConnectionStringsSection.cs
- CodeExpressionCollection.cs
- RegexCompilationInfo.cs
- JoinSymbol.cs
- ListSourceHelper.cs
- RowToParametersTransformer.cs
- AdCreatedEventArgs.cs
- DataBoundControlActionList.cs
- RegexCompilationInfo.cs
- WebCategoryAttribute.cs
- PowerModeChangedEventArgs.cs
- RouteValueDictionary.cs
- ListViewInsertionMark.cs
- TemplateBindingExtensionConverter.cs
- Schema.cs
- OletxCommittableTransaction.cs
- AnimationException.cs
- OdbcParameter.cs
- DictionaryBase.cs
- PeerTransportBindingElement.cs
- CommandHelpers.cs
- XmlDocument.cs
- CatalogPartChrome.cs
- CachedFontFace.cs
- OneOfScalarConst.cs
- DirectoryObjectSecurity.cs
- TreeNodeEventArgs.cs
- PersonalizationProviderHelper.cs
- Rect3DValueSerializer.cs
- DeploymentSection.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- PointLightBase.cs
- HeaderedItemsControl.cs
- ObjectConverter.cs
- ReferencedType.cs
- XmlSchemaCompilationSettings.cs
- ProviderCommandInfoUtils.cs
- DbTypeMap.cs
- _ProxyRegBlob.cs
- RowUpdatingEventArgs.cs
- XmlSchemaValidationException.cs
- FrameworkElementAutomationPeer.cs
- ConnectionStringsExpressionBuilder.cs
- ReflectionUtil.cs
- WindowsEditBox.cs
- HMACSHA512.cs
- CompilerParameters.cs
- SoapAttributeAttribute.cs
- UntrustedRecipientException.cs
- _NativeSSPI.cs
- smtppermission.cs
- ContextMarshalException.cs
- DocumentApplicationJournalEntry.cs
- SystemColorTracker.cs
- ImageField.cs
- StructuredTypeInfo.cs
- CachedFontFace.cs
- Matrix.cs
- Span.cs
- BoundingRectTracker.cs
- WebPartTracker.cs
- CodeVariableReferenceExpression.cs
- FieldAccessException.cs
- ContextBase.cs
- ClickablePoint.cs
- PathGeometry.cs
- Enum.cs
- NotFiniteNumberException.cs
- ThreadPool.cs
- RawKeyboardInputReport.cs
- StylusOverProperty.cs
- Propagator.Evaluator.cs
- TransactionInterop.cs
- SecureEnvironment.cs
- TitleStyle.cs
- DictionarySectionHandler.cs
- InputDevice.cs
- SqlCacheDependencySection.cs
- EventLogEntryCollection.cs
- TaskFactory.cs
- SoapCodeExporter.cs
- SourceFileBuildProvider.cs
- DataObjectPastingEventArgs.cs
- MessageRpc.cs
- DataGridViewButtonColumn.cs
- StronglyTypedResourceBuilder.cs
- AssemblyFilter.cs
- LassoSelectionBehavior.cs
- TemplateField.cs
- FrameAutomationPeer.cs
- HtmlSelect.cs
- QuaternionAnimationUsingKeyFrames.cs
- XmlTextEncoder.cs
- DBPropSet.cs
- TypeAccessException.cs
- GridViewRow.cs