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
- EventRoute.cs
- DataViewSetting.cs
- WebEvents.cs
- ExtendedPropertiesHandler.cs
- KnownBoxes.cs
- LineVisual.cs
- SerializationIncompleteException.cs
- ResourceReferenceExpressionConverter.cs
- ReflectionServiceProvider.cs
- SineEase.cs
- CommandField.cs
- Knowncolors.cs
- SqlTriggerContext.cs
- TypeAccessException.cs
- FragmentNavigationEventArgs.cs
- FileClassifier.cs
- LogFlushAsyncResult.cs
- NotCondition.cs
- WebBrowserDesigner.cs
- Geometry3D.cs
- TypeUtil.cs
- XmlArrayItemAttribute.cs
- RenderingEventArgs.cs
- ButtonDesigner.cs
- Size.cs
- MaterialCollection.cs
- CssClassPropertyAttribute.cs
- PropertyCondition.cs
- TableAutomationPeer.cs
- SqlDataSourceAdvancedOptionsForm.cs
- RenderData.cs
- CommonXSendMessage.cs
- TraceHelpers.cs
- ReadOnlyActivityGlyph.cs
- EnumConverter.cs
- ClientSponsor.cs
- XmlMembersMapping.cs
- safelink.cs
- WebPartDisplayMode.cs
- WebPartDisplayModeCollection.cs
- IItemProperties.cs
- Util.cs
- HttpListenerResponse.cs
- ResourceReader.cs
- LineBreak.cs
- PresentationTraceSources.cs
- InheritanceAttribute.cs
- CodeTypeParameterCollection.cs
- GridViewUpdatedEventArgs.cs
- SymmetricSecurityProtocolFactory.cs
- PresentationAppDomainManager.cs
- UpdateManifestForBrowserApplication.cs
- RuleSettings.cs
- TypeLibConverter.cs
- TextRunTypographyProperties.cs
- SchemaMapping.cs
- WrapPanel.cs
- ArgumentDirectionHelper.cs
- BaseDataList.cs
- AsyncStreamReader.cs
- BaseDataBoundControl.cs
- DataTrigger.cs
- ProcessHostMapPath.cs
- XmlCharCheckingReader.cs
- CngUIPolicy.cs
- IsolatedStorageException.cs
- StringFormat.cs
- DrawingImage.cs
- MulticastOption.cs
- FileChangesMonitor.cs
- WindowsRebar.cs
- StatusBarPanelClickEvent.cs
- MethodImplAttribute.cs
- HtmlTableCellCollection.cs
- sqlser.cs
- WorkflowInvoker.cs
- CheckBoxList.cs
- PeekCompletedEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- initElementDictionary.cs
- XmlLinkedNode.cs
- MobileUserControl.cs
- PanelStyle.cs
- WebPartDisplayMode.cs
- BlobPersonalizationState.cs
- MessageEncoder.cs
- QueryReaderSettings.cs
- WorkflowOperationBehavior.cs
- AppDomainCompilerProxy.cs
- WindowsToolbarAsMenu.cs
- NextPreviousPagerField.cs
- SafeNativeMethods.cs
- CommandLineParser.cs
- DropShadowEffect.cs
- MailDefinition.cs
- PictureBox.cs
- InstancePersistenceContext.cs
- SelectionItemPattern.cs
- BinHexEncoder.cs
- CommandHelper.cs