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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabletDevice.cs
- SequentialUshortCollection.cs
- MachineKey.cs
- ModelTreeEnumerator.cs
- DataGridSortCommandEventArgs.cs
- HtmlButton.cs
- SamlAssertionKeyIdentifierClause.cs
- TraceListeners.cs
- SemanticKeyElement.cs
- DBDataPermissionAttribute.cs
- UInt64Storage.cs
- ToolStripSplitButton.cs
- LocalizabilityAttribute.cs
- unsafenativemethodsother.cs
- MappingItemCollection.cs
- NamedPermissionSet.cs
- NavigatorInput.cs
- SafeNativeMethodsOther.cs
- MDIWindowDialog.cs
- InternalRelationshipCollection.cs
- PersonalizationStateInfo.cs
- DebugController.cs
- FileSystemEventArgs.cs
- FontDifferentiator.cs
- Utilities.cs
- FloatUtil.cs
- MenuItem.cs
- CompiledQuery.cs
- SQlBooleanStorage.cs
- EventOpcode.cs
- ProgramNode.cs
- DefaultParameterValueAttribute.cs
- DocobjHost.cs
- HitTestParameters.cs
- SHA512.cs
- Expression.cs
- OleStrCAMarshaler.cs
- XPathExpr.cs
- WinEventWrap.cs
- Utilities.cs
- ProcessHostServerConfig.cs
- XPathDescendantIterator.cs
- EntityClientCacheKey.cs
- DataBoundControl.cs
- FactoryGenerator.cs
- MessageBox.cs
- ToolStripHighContrastRenderer.cs
- PolyLineSegment.cs
- AmbientEnvironment.cs
- CriticalFinalizerObject.cs
- Rights.cs
- TransformCollection.cs
- Menu.cs
- MediaEntryAttribute.cs
- SystemIPv6InterfaceProperties.cs
- ResourceWriter.cs
- WebHttpBindingCollectionElement.cs
- AstTree.cs
- ScriptReferenceEventArgs.cs
- TextBlock.cs
- SharedDp.cs
- AdapterUtil.cs
- MetaColumn.cs
- TextEditorContextMenu.cs
- SizeAnimationBase.cs
- _NestedSingleAsyncResult.cs
- DataSourceHelper.cs
- GridViewDeletedEventArgs.cs
- DynamicMetaObjectBinder.cs
- TriggerCollection.cs
- SmiContextFactory.cs
- ToolStripStatusLabel.cs
- LockRecursionException.cs
- UICuesEvent.cs
- EventProxy.cs
- DESCryptoServiceProvider.cs
- ModuleElement.cs
- OutputWindow.cs
- SafeProcessHandle.cs
- OutputCacheSettingsSection.cs
- NativeMethods.cs
- AuthenticationSchemesHelper.cs
- HttpWebResponse.cs
- Soap.cs
- SamlSecurityToken.cs
- Simplifier.cs
- DataGridViewTopLeftHeaderCell.cs
- NameTable.cs
- StoreContentChangedEventArgs.cs
- SamlAuthenticationStatement.cs
- UntypedNullExpression.cs
- NGCPageContentCollectionSerializerAsync.cs
- RequestQueryProcessor.cs
- TextTreeObjectNode.cs
- QilPatternVisitor.cs
- FieldNameLookup.cs
- DependencyPropertyHelper.cs
- ColorEditor.cs
- EncoderExceptionFallback.cs
- HttpCookiesSection.cs