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
- FixedSOMTableCell.cs
- BaseServiceProvider.cs
- TemplatedAdorner.cs
- GiveFeedbackEvent.cs
- ContextMenuService.cs
- ThrowHelper.cs
- ActivityDesignerResources.cs
- EntityCommandExecutionException.cs
- DataSourceCache.cs
- ISO2022Encoding.cs
- StylusPointProperties.cs
- HttpCachePolicy.cs
- XmlSchemaImport.cs
- MarkerProperties.cs
- HttpListener.cs
- ActivationServices.cs
- CodeSubDirectory.cs
- OdbcConnectionPoolProviderInfo.cs
- AssemblyHash.cs
- DataObject.cs
- ReferencedCategoriesDocument.cs
- VScrollProperties.cs
- CodeMemberField.cs
- CheckBoxBaseAdapter.cs
- SslSecurityTokenParameters.cs
- XmlBaseWriter.cs
- SchemaDeclBase.cs
- JournalNavigationScope.cs
- ProjectedSlot.cs
- UnmanagedBitmapWrapper.cs
- ReaderWriterLock.cs
- AbstractDataSvcMapFileLoader.cs
- ClientConvert.cs
- PropertiesTab.cs
- SafeSecurityHandles.cs
- ping.cs
- CacheSection.cs
- PassportIdentity.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ObjectListCommandCollection.cs
- EventToken.cs
- ConsumerConnectionPoint.cs
- HttpApplicationFactory.cs
- WS2007FederationHttpBindingCollectionElement.cs
- ApplicationActivator.cs
- ObjectCache.cs
- AppDomainProtocolHandler.cs
- ObsoleteAttribute.cs
- FieldAccessException.cs
- DataGridViewCellCollection.cs
- loginstatus.cs
- ApplicationSecurityInfo.cs
- IdentifierCreationService.cs
- Char.cs
- EventLogLink.cs
- CodeChecksumPragma.cs
- DmlSqlGenerator.cs
- GregorianCalendar.cs
- ExpressionVisitorHelpers.cs
- safemediahandle.cs
- EndpointDiscoveryMetadata.cs
- DockPattern.cs
- ContainerCodeDomSerializer.cs
- FixedTextSelectionProcessor.cs
- SpecularMaterial.cs
- TimeSpanValidatorAttribute.cs
- BmpBitmapEncoder.cs
- DeviceContext2.cs
- ComponentEditorPage.cs
- DesignerOptionService.cs
- ImpersonationContext.cs
- processwaithandle.cs
- Profiler.cs
- BamlRecords.cs
- ExpressionBuilder.cs
- VScrollProperties.cs
- TimeStampChecker.cs
- TextServicesLoader.cs
- OracleBoolean.cs
- FilterQuery.cs
- TdsParserSafeHandles.cs
- Util.cs
- NumericUpDownAcceleration.cs
- DataGridViewLinkColumn.cs
- ItemTypeToolStripMenuItem.cs
- GridSplitter.cs
- EntityClientCacheEntry.cs
- DoWorkEventArgs.cs
- BitmapCache.cs
- ThreadAbortException.cs
- EventEntry.cs
- TextRangeEditTables.cs
- SettingsPropertyValueCollection.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- TimeSpanValidator.cs
- InternalPermissions.cs
- WindowsUpDown.cs
- SortedList.cs
- SizeChangedInfo.cs
- SynchronousChannelMergeEnumerator.cs