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
- PageThemeParser.cs
- PrintDialog.cs
- ReliableOutputSessionChannel.cs
- Privilege.cs
- MimeParameters.cs
- SqlUdtInfo.cs
- StringDictionaryWithComparer.cs
- SmiEventSink.cs
- DBConnection.cs
- TableItemStyle.cs
- TextSelectionHelper.cs
- CollectionChange.cs
- PreservationFileReader.cs
- QueryAccessibilityHelpEvent.cs
- MailDefinition.cs
- GroupedContextMenuStrip.cs
- DSGeneratorProblem.cs
- Point.cs
- DataRelationPropertyDescriptor.cs
- SafeCoTaskMem.cs
- RuntimeCompatibilityAttribute.cs
- RangeValueProviderWrapper.cs
- Int32Storage.cs
- PeerInvitationResponse.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SHA1Managed.cs
- AsmxEndpointPickerExtension.cs
- HwndSourceKeyboardInputSite.cs
- IsolatedStorageSecurityState.cs
- PrintPreviewGraphics.cs
- FtpWebResponse.cs
- DynamicValidatorEventArgs.cs
- SafeRegistryHandle.cs
- DataListItem.cs
- MsmqTransportBindingElement.cs
- ErrorLog.cs
- ScriptRegistrationManager.cs
- FrugalMap.cs
- NewExpression.cs
- XamlValidatingReader.cs
- InvokeMemberBinder.cs
- SerialReceived.cs
- TemplateControlParser.cs
- SamlAttribute.cs
- TreeViewTemplateSelector.cs
- OracleParameter.cs
- Relationship.cs
- SkewTransform.cs
- InputScope.cs
- TextFormatter.cs
- DataGridViewCheckBoxColumn.cs
- SpAudioStreamWrapper.cs
- SynchronizationContext.cs
- TypeConverterHelper.cs
- AspNetPartialTrustHelpers.cs
- CultureTable.cs
- AnnouncementSendsAsyncResult.cs
- OracleLob.cs
- WaitForChangedResult.cs
- DataGridViewColumnConverter.cs
- WindowsSpinner.cs
- LoginNameDesigner.cs
- Math.cs
- PTProvider.cs
- ItemsChangedEventArgs.cs
- CachedFontFamily.cs
- ValueSerializerAttribute.cs
- MarkupCompilePass1.cs
- XPathNodePointer.cs
- GridViewUpdatedEventArgs.cs
- CustomSignedXml.cs
- BinHexEncoding.cs
- JoinGraph.cs
- FollowerQueueCreator.cs
- DataGridViewComboBoxColumn.cs
- UInt32.cs
- IntegerFacetDescriptionElement.cs
- XmlNodeComparer.cs
- SQLConvert.cs
- ModuleBuilderData.cs
- ScriptIgnoreAttribute.cs
- FormatConvertedBitmap.cs
- MenuItem.cs
- SafeArrayRankMismatchException.cs
- ControlPaint.cs
- _CacheStreams.cs
- SwitchLevelAttribute.cs
- Msec.cs
- RequestCacheEntry.cs
- AssemblyInfo.cs
- EventHandlerService.cs
- CheckBoxBaseAdapter.cs
- _SslState.cs
- TextEndOfLine.cs
- AllowedAudienceUriElement.cs
- ColorConvertedBitmap.cs
- SchemaConstraints.cs
- ObjectDataSourceStatusEventArgs.cs
- LostFocusEventManager.cs
- DynamicValidator.cs