Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / MS / Internal / Ink / InkSerializedFormat / StrokeDescriptor.cs / 1 / StrokeDescriptor.cs
//------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- using System; // Primary root namespace for TabletPC/Ink/Handwriting/Recognition in .NET namespace MS.Internal.Ink.InkSerializedFormat { internal class StrokeDescriptor { private System.Collections.Generic.List_strokeDescriptor = new System.Collections.Generic.List (); private uint _Size = 0; public uint Size { get { return _Size; } set { _Size = value; } } public System.Collections.Generic.List Template { get { return _strokeDescriptor; } } public StrokeDescriptor() { } public bool IsEqual(StrokeDescriptor strd) { // If the no of templates in them are different return false if( _strokeDescriptor.Count != strd.Template.Count ) return false; // Compare each tag in the template. If any one of them is different, return false; for( int i = 0; i < _strokeDescriptor.Count; i++ ) if( _strokeDescriptor[i] != strd.Template[i] ) return false; return true; } } } // 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
- MemberInfoSerializationHolder.cs
- QilPatternVisitor.cs
- StringHandle.cs
- TextContainerChangeEventArgs.cs
- SortDescriptionCollection.cs
- TypeHelpers.cs
- DataMemberFieldEditor.cs
- StateChangeEvent.cs
- BuildProviderCollection.cs
- ModelPropertyImpl.cs
- DisplayNameAttribute.cs
- IsolatedStorageException.cs
- VisualStyleRenderer.cs
- TextFormatterHost.cs
- BamlLocalizableResourceKey.cs
- ReferentialConstraint.cs
- PositiveTimeSpanValidatorAttribute.cs
- XsdDuration.cs
- Stackframe.cs
- Vector3DCollectionConverter.cs
- ReverseQueryOperator.cs
- EasingKeyFrames.cs
- MasterPage.cs
- DataGridHeaderBorder.cs
- DataSourceProvider.cs
- VariableReference.cs
- MenuItemAutomationPeer.cs
- NullableConverter.cs
- ServiceDescriptionReflector.cs
- ThrowHelper.cs
- QilGenerator.cs
- AppDomainFactory.cs
- ClientFormsAuthenticationCredentials.cs
- _LocalDataStore.cs
- FormatterConverter.cs
- Opcode.cs
- CultureInfoConverter.cs
- NavigationHelper.cs
- CurrentChangingEventManager.cs
- RecognizedPhrase.cs
- AmbientLight.cs
- CompoundFileReference.cs
- DeploymentSectionCache.cs
- TableItemPatternIdentifiers.cs
- DataControlCommands.cs
- SchemaType.cs
- GetPageCompletedEventArgs.cs
- XmlSchemaObject.cs
- TransformProviderWrapper.cs
- ByteRangeDownloader.cs
- EventData.cs
- PeerPresenceInfo.cs
- RootDesignerSerializerAttribute.cs
- AllMembershipCondition.cs
- MetadataResolver.cs
- ellipse.cs
- AppDomainProtocolHandler.cs
- Validator.cs
- UnsafeNativeMethods.cs
- Stacktrace.cs
- DbCommandDefinition.cs
- AsmxEndpointPickerExtension.cs
- Rect3D.cs
- ServiceDesigner.xaml.cs
- CounterSampleCalculator.cs
- ColorComboBox.cs
- RightsManagementEncryptedStream.cs
- GetChildSubtree.cs
- SettingsPropertyValue.cs
- BufferBuilder.cs
- LinqDataSourceStatusEventArgs.cs
- TiffBitmapEncoder.cs
- ShortcutKeysEditor.cs
- TypeDependencyAttribute.cs
- DbQueryCommandTree.cs
- FormatException.cs
- Stacktrace.cs
- SplayTreeNode.cs
- AutomationPropertyInfo.cs
- ScrollEvent.cs
- PageFunction.cs
- ModuleBuilder.cs
- ChannelSinkStacks.cs
- CollectionChangedEventManager.cs
- ToolStripLocationCancelEventArgs.cs
- SettingsAttributes.cs
- Fx.cs
- BitmapEffectInputConnector.cs
- PersistenceTypeAttribute.cs
- DateTimeParse.cs
- ExpressionBuilderContext.cs
- DynamicEntity.cs
- MethodBuilder.cs
- PropertyReference.cs
- ProjectionCamera.cs
- FormattedTextSymbols.cs
- SspiHelper.cs
- StyleBamlTreeBuilder.cs
- ListenerServiceInstallComponent.cs
- TypePropertyEditor.cs