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
- XXXOnTypeBuilderInstantiation.cs
- MetabaseReader.cs
- AppSettings.cs
- PropertyEmitterBase.cs
- ToolStripDropDownItemDesigner.cs
- DataServiceRequest.cs
- PolicyLevel.cs
- ListViewCancelEventArgs.cs
- XhtmlMobileTextWriter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Overlapped.cs
- SymDocumentType.cs
- ImportCatalogPart.cs
- UserPersonalizationStateInfo.cs
- QilReference.cs
- StreamReader.cs
- IISMapPath.cs
- SchemaElementLookUpTableEnumerator.cs
- DataContractAttribute.cs
- Emitter.cs
- EntityClientCacheEntry.cs
- ReadOnlyDataSourceView.cs
- PageThemeBuildProvider.cs
- Registry.cs
- MailHeaderInfo.cs
- FontSource.cs
- RectangleF.cs
- _SafeNetHandles.cs
- ProxyHelper.cs
- ConfigurationLocationCollection.cs
- RelationshipConstraintValidator.cs
- MediaContextNotificationWindow.cs
- XdrBuilder.cs
- QilGenerator.cs
- ListBoxItem.cs
- ReaderWriterLockWrapper.cs
- WorkflowFormatterBehavior.cs
- InfoCardMasterKey.cs
- DataServiceBuildProvider.cs
- EpmContentDeSerializer.cs
- SafeNativeMethods.cs
- ColumnCollection.cs
- JoinElimination.cs
- MailBnfHelper.cs
- StaticResourceExtension.cs
- ToolboxItemImageConverter.cs
- UserControlFileEditor.cs
- SoapObjectWriter.cs
- XmlSchemaObjectTable.cs
- DynamicPropertyHolder.cs
- RegexCompilationInfo.cs
- LocalFileSettingsProvider.cs
- TextureBrush.cs
- EdgeProfileValidation.cs
- Gdiplus.cs
- Missing.cs
- WindowsRichEditRange.cs
- TracedNativeMethods.cs
- EffectiveValueEntry.cs
- ConstraintConverter.cs
- EntryPointNotFoundException.cs
- WebControlsSection.cs
- PackagingUtilities.cs
- OdbcHandle.cs
- XmlTypeAttribute.cs
- RemotingConfiguration.cs
- TimeEnumHelper.cs
- XamlHostingSectionGroup.cs
- DataGridViewButtonCell.cs
- ConcurrentBag.cs
- ListBox.cs
- IDQuery.cs
- ColumnBinding.cs
- ScrollableControl.cs
- SystemBrushes.cs
- CharacterString.cs
- SoapObjectInfo.cs
- PathFigure.cs
- DataGridLinkButton.cs
- ConfigurationConverterBase.cs
- ScrollChrome.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SafeArrayRankMismatchException.cs
- Switch.cs
- AncillaryOps.cs
- PropertyGrid.cs
- UnsettableComboBox.cs
- ProfessionalColorTable.cs
- RequestStatusBarUpdateEventArgs.cs
- CodeNamespaceCollection.cs
- TreeNodeStyle.cs
- Pen.cs
- ColorConvertedBitmap.cs
- CacheSection.cs
- DeferredReference.cs
- XamlToRtfParser.cs
- FixedStringLookup.cs
- DynamicDiscoSearcher.cs
- SizeKeyFrameCollection.cs
- CustomErrorCollection.cs