Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Size3DValueSerializer.cs
- RtfToken.cs
- MissingManifestResourceException.cs
- ValidatingReaderNodeData.cs
- AnnotationStore.cs
- InstanceLockedException.cs
- HtmlInputPassword.cs
- Menu.cs
- NativeMethods.cs
- RegexCode.cs
- RadioButtonFlatAdapter.cs
- TargetException.cs
- EnumerationRangeValidationUtil.cs
- ControlParameter.cs
- SetterBase.cs
- SettingsContext.cs
- Focus.cs
- ParallelTimeline.cs
- UnauthorizedWebPart.cs
- Button.cs
- XsltCompileContext.cs
- DeferredSelectedIndexReference.cs
- InvokeWebServiceDesigner.cs
- RMPublishingDialog.cs
- VectorKeyFrameCollection.cs
- OleDbRowUpdatedEvent.cs
- RawAppCommandInputReport.cs
- ProtocolElementCollection.cs
- XmlSerializableWriter.cs
- ProtocolsConfigurationEntry.cs
- SmiSettersStream.cs
- WebContext.cs
- FrameworkName.cs
- DashStyles.cs
- UIElement3D.cs
- BrowserInteropHelper.cs
- Pens.cs
- NavigationProperty.cs
- BitmapEffectvisualstate.cs
- HotSpotCollection.cs
- TableParagraph.cs
- Int16Storage.cs
- ValueChangedEventManager.cs
- DbgUtil.cs
- CustomAttributeFormatException.cs
- SmtpFailedRecipientException.cs
- HiddenField.cs
- Merger.cs
- ExtenderControl.cs
- Token.cs
- ApplicationManager.cs
- ColumnHeader.cs
- NamespaceCollection.cs
- SettingsContext.cs
- InheritanceContextHelper.cs
- HtmlSelect.cs
- shaperfactory.cs
- PeerApplication.cs
- DataSvcMapFileSerializer.cs
- TemplatedMailWebEventProvider.cs
- AuthenticatingEventArgs.cs
- UnsafeNativeMethods.cs
- TraversalRequest.cs
- AncestorChangedEventArgs.cs
- SqlDataAdapter.cs
- GridViewUpdatedEventArgs.cs
- ExpressionBuilder.cs
- ServiceObjectContainer.cs
- EventData.cs
- GridViewRowEventArgs.cs
- DbDataSourceEnumerator.cs
- CharacterString.cs
- oledbconnectionstring.cs
- DesignerUtils.cs
- Debug.cs
- FormParameter.cs
- InkCanvasFeedbackAdorner.cs
- AutomationEvent.cs
- SystemIPGlobalProperties.cs
- RolePrincipal.cs
- CatalogPartCollection.cs
- ToolboxItem.cs
- HostingEnvironmentWrapper.cs
- SqlUtil.cs
- WebPartUserCapability.cs
- LookupBindingPropertiesAttribute.cs
- GradientStop.cs
- WebScriptMetadataMessageEncoderFactory.cs
- HealthMonitoringSectionHelper.cs
- BindingExpression.cs
- PersonalizationStateInfoCollection.cs
- PlatformNotSupportedException.cs
- IFlowDocumentViewer.cs
- CorrelationManager.cs
- PrinterSettings.cs
- LongValidatorAttribute.cs
- SpecialNameAttribute.cs
- ChannelFactoryBase.cs
- sapiproxy.cs
- CharEnumerator.cs