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
- ClientEventManager.cs
- SoapFault.cs
- PerformanceCounterCategory.cs
- ElapsedEventArgs.cs
- TrackingServices.cs
- CodeAssignStatement.cs
- shaperfactoryquerycachekey.cs
- SqlDataReaderSmi.cs
- TimeoutValidationAttribute.cs
- MailAddressCollection.cs
- Cursor.cs
- CodeArrayIndexerExpression.cs
- DocumentEventArgs.cs
- WebContext.cs
- IssuedTokenServiceCredential.cs
- TextSelection.cs
- TextAction.cs
- HttpApplicationFactory.cs
- Pen.cs
- RtfToXamlLexer.cs
- SettingsAttributes.cs
- OutputCacheProfileCollection.cs
- SQLStringStorage.cs
- SystemIPGlobalProperties.cs
- VoiceSynthesis.cs
- DataPointer.cs
- RenderData.cs
- TreeNodeStyle.cs
- TextServicesCompartmentContext.cs
- WindowPattern.cs
- AlphabeticalEnumConverter.cs
- StrokeDescriptor.cs
- CheckBox.cs
- ContextMenuService.cs
- QilStrConcat.cs
- DataGridCellAutomationPeer.cs
- Util.cs
- ServiceKnownTypeAttribute.cs
- HttpConfigurationSystem.cs
- OdbcReferenceCollection.cs
- AssertFilter.cs
- DesignerImageAdapter.cs
- ListViewSortEventArgs.cs
- VisualState.cs
- Border.cs
- EventPrivateKey.cs
- DropDownButton.cs
- AdPostCacheSubstitution.cs
- NameValuePair.cs
- ManagedWndProcTracker.cs
- XmlSchemaComplexContentExtension.cs
- IdnElement.cs
- GestureRecognitionResult.cs
- ConditionChanges.cs
- ZipIOExtraFieldZip64Element.cs
- DiagnosticsConfigurationHandler.cs
- OutputScopeManager.cs
- PointCollectionValueSerializer.cs
- BindingsCollection.cs
- AppDomainProtocolHandler.cs
- ColumnHeaderConverter.cs
- Visual3DCollection.cs
- CopyAttributesAction.cs
- BatchParser.cs
- ConfigsHelper.cs
- SqlTypesSchemaImporter.cs
- FormClosingEvent.cs
- SchemaExporter.cs
- DataServiceExpressionVisitor.cs
- WebPartTransformerAttribute.cs
- Win32SafeHandles.cs
- ListDataBindEventArgs.cs
- ScrollProperties.cs
- CodeNamespaceCollection.cs
- IisTraceWebEventProvider.cs
- ConnectionAcceptor.cs
- StorageEntitySetMapping.cs
- IndexOutOfRangeException.cs
- DefaultSettingsSection.cs
- HotCommands.cs
- latinshape.cs
- DXD.cs
- PropertyGeneratedEventArgs.cs
- Section.cs
- SoapServerMessage.cs
- FlowDocumentPage.cs
- BindingValueChangedEventArgs.cs
- ProfilePropertySettingsCollection.cs
- ClientProxyGenerator.cs
- OSFeature.cs
- WebScriptServiceHostFactory.cs
- CroppedBitmap.cs
- WorkflowMarkupSerializer.cs
- TimeZoneInfo.cs
- LinkTarget.cs
- PolicyAssertionCollection.cs
- PrintDialogException.cs
- DesignerEventService.cs
- TemplateColumn.cs
- ZipIOCentralDirectoryFileHeader.cs