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
- AnimationLayer.cs
- CallbackValidator.cs
- CheckedListBox.cs
- DecoderExceptionFallback.cs
- SelectedDatesCollection.cs
- ModelEditingScope.cs
- WindowsGraphics2.cs
- printdlgexmarshaler.cs
- FileLevelControlBuilderAttribute.cs
- GACIdentityPermission.cs
- SafeWaitHandle.cs
- CodeVariableDeclarationStatement.cs
- ConstraintConverter.cs
- PackWebRequest.cs
- GridViewRowEventArgs.cs
- IPAddress.cs
- ContextBase.cs
- WorkflowDesigner.cs
- TerminateDesigner.cs
- AsymmetricKeyExchangeFormatter.cs
- XhtmlTextWriter.cs
- PersonalizationStateInfo.cs
- CodeMemberProperty.cs
- CopyCodeAction.cs
- ToolStripStatusLabel.cs
- HandleRef.cs
- TextSpan.cs
- SqlRewriteScalarSubqueries.cs
- WebConfigurationFileMap.cs
- BitHelper.cs
- _AuthenticationState.cs
- MappingModelBuildProvider.cs
- ShaperBuffers.cs
- SurrogateSelector.cs
- TypeDescriptionProviderAttribute.cs
- WindowsUpDown.cs
- GroupLabel.cs
- XmlSchemaChoice.cs
- RegisteredScript.cs
- EmptyElement.cs
- ProfilePropertyNameValidator.cs
- SizeIndependentAnimationStorage.cs
- SendMessageRecord.cs
- TrackingProfileSerializer.cs
- COM2FontConverter.cs
- _Events.cs
- TabControl.cs
- SQLUtility.cs
- ServiceNameElement.cs
- StopStoryboard.cs
- webproxy.cs
- columnmapfactory.cs
- StrongNameSignatureInformation.cs
- XmlWrappingWriter.cs
- PropertyFilter.cs
- OperandQuery.cs
- SafeNativeMethodsOther.cs
- Processor.cs
- AppDomain.cs
- TemplateNameScope.cs
- AsyncResult.cs
- ProcessHostConfigUtils.cs
- DocumentViewerBase.cs
- RSAProtectedConfigurationProvider.cs
- OutOfMemoryException.cs
- StylusDevice.cs
- UIElement.cs
- PageThemeBuildProvider.cs
- MemberHolder.cs
- PrintDocument.cs
- Overlapped.cs
- EntityDescriptor.cs
- SoapInteropTypes.cs
- SmiGettersStream.cs
- DbXmlEnabledProviderManifest.cs
- StorageScalarPropertyMapping.cs
- SelectedGridItemChangedEvent.cs
- StrokeFIndices.cs
- ServerReliableChannelBinder.cs
- LabelLiteral.cs
- BasicHttpBindingCollectionElement.cs
- storepermission.cs
- COM2ComponentEditor.cs
- Metadata.cs
- DictionaryCustomTypeDescriptor.cs
- Wizard.cs
- BaseValidator.cs
- RoleManagerModule.cs
- CrossSiteScriptingValidation.cs
- UnmanagedMemoryStreamWrapper.cs
- ResourceProviderFactory.cs
- TypeUsage.cs
- XmlIlTypeHelper.cs
- _HelperAsyncResults.cs
- WindowsFont.cs
- WinHttpWebProxyFinder.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SlotInfo.cs
- ColorConvertedBitmap.cs
- FilteredAttributeCollection.cs