Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / MS / Internal / Ink / InkSerializedFormat / StrokeDescriptor.cs / 1305600 / 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
- HttpStreamXmlDictionaryWriter.cs
- WebPart.cs
- DataGridView.cs
- Line.cs
- SchemaImporterExtensionElement.cs
- FormsAuthenticationTicket.cs
- SettingsPropertyIsReadOnlyException.cs
- Rijndael.cs
- CalendarAutoFormat.cs
- DateTimeParse.cs
- GorillaCodec.cs
- MembershipSection.cs
- Mutex.cs
- AttributeCollection.cs
- Stack.cs
- DataSvcMapFileSerializer.cs
- ScriptReferenceEventArgs.cs
- XPathMultyIterator.cs
- CodeTypeConstructor.cs
- RSAOAEPKeyExchangeFormatter.cs
- RotationValidation.cs
- PropertyPushdownHelper.cs
- XmlException.cs
- InvokeSchedule.cs
- InstanceOwnerException.cs
- EpmContentDeSerializerBase.cs
- Attributes.cs
- ToolStripPanelSelectionGlyph.cs
- SqlDuplicator.cs
- BatchServiceHost.cs
- WebException.cs
- TextTreeExtractElementUndoUnit.cs
- PropertyConverter.cs
- DataTableMappingCollection.cs
- StringInfo.cs
- ResourcePool.cs
- CachingHintValidation.cs
- NumberFunctions.cs
- EtwTrackingParticipant.cs
- XmlLinkedNode.cs
- ActiveXHost.cs
- WebPartCatalogAddVerb.cs
- ReadOnlyDictionary.cs
- OleAutBinder.cs
- EntityTypeEmitter.cs
- BaseCodeDomTreeGenerator.cs
- SynchronizedInputPattern.cs
- WebServiceClientProxyGenerator.cs
- BrushConverter.cs
- ThreadStateException.cs
- DependentList.cs
- TextSpanModifier.cs
- DictionaryManager.cs
- ListenerElementsCollection.cs
- SID.cs
- XamlSerializerUtil.cs
- BamlLocalizableResource.cs
- altserialization.cs
- SignedInfo.cs
- shaperfactoryquerycachekey.cs
- Permission.cs
- CornerRadiusConverter.cs
- SRDisplayNameAttribute.cs
- XmlSchemaComplexType.cs
- FunctionImportElement.cs
- UrlRoutingHandler.cs
- DummyDataSource.cs
- CodeSnippetStatement.cs
- IdentityManager.cs
- ClientSettingsStore.cs
- filewebrequest.cs
- GlyphRun.cs
- ListSortDescription.cs
- GPPOINT.cs
- BulletedList.cs
- RtfFormatStack.cs
- DispatchWrapper.cs
- AdornerLayer.cs
- ImageSource.cs
- ConfigurationSection.cs
- ConfigurationManagerInternalFactory.cs
- PropertyManager.cs
- PermissionListSet.cs
- Matrix.cs
- Marshal.cs
- ManifestResourceInfo.cs
- ChildDocumentBlock.cs
- RequestCacheValidator.cs
- ActivityCollectionMarkupSerializer.cs
- HTTPAPI_VERSION.cs
- ItemList.cs
- EventListener.cs
- InheritanceContextChangedEventManager.cs
- DelegatingConfigHost.cs
- AbandonedMutexException.cs
- ZipIORawDataFileBlock.cs
- PropertyDescriptorCollection.cs
- ShaderEffect.cs
- X509Utils.cs
- RayMeshGeometry3DHitTestResult.cs