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
- MsmqBindingBase.cs
- FactoryId.cs
- XPathDescendantIterator.cs
- RoutedEventArgs.cs
- UInt64.cs
- ExpressionList.cs
- GPStream.cs
- DataColumnMappingCollection.cs
- DiscreteKeyFrames.cs
- processwaithandle.cs
- XmlMtomWriter.cs
- WebPartDisplayModeEventArgs.cs
- DesignerLinkAdapter.cs
- MethodBuilder.cs
- ObjectDisposedException.cs
- SafeBitVector32.cs
- AuthorizationRuleCollection.cs
- PDBReader.cs
- Italic.cs
- TCPClient.cs
- LocalTransaction.cs
- CodeAttributeDeclarationCollection.cs
- InvalidWMPVersionException.cs
- TextAdaptor.cs
- PropertyMappingExceptionEventArgs.cs
- InplaceBitmapMetadataWriter.cs
- FlowDocument.cs
- RoutedCommand.cs
- WindowsStartMenu.cs
- DetailsViewUpdateEventArgs.cs
- SqlRowUpdatedEvent.cs
- TemplateXamlTreeBuilder.cs
- PieceNameHelper.cs
- ScriptReference.cs
- FileDialog_Vista.cs
- MouseButton.cs
- CellParaClient.cs
- VisualStyleRenderer.cs
- SoapAttributes.cs
- UmAlQuraCalendar.cs
- WebResourceUtil.cs
- EndEvent.cs
- UndoUnit.cs
- OutputScope.cs
- SvcMapFile.cs
- TileBrush.cs
- SafeNativeMethodsOther.cs
- ButtonAutomationPeer.cs
- TabControl.cs
- ReadOnlyNameValueCollection.cs
- HtmlUtf8RawTextWriter.cs
- UpdatePanelTriggerCollection.cs
- PrePrepareMethodAttribute.cs
- ProcessModuleCollection.cs
- WinEventWrap.cs
- WebPartZoneCollection.cs
- KnownTypeDataContractResolver.cs
- BinaryCommonClasses.cs
- EventLogPermissionEntryCollection.cs
- TypeConverterAttribute.cs
- RecognizeCompletedEventArgs.cs
- TraceProvider.cs
- ReflectionUtil.cs
- WorkItem.cs
- MethodCallTranslator.cs
- InkPresenter.cs
- Number.cs
- Grant.cs
- X509ChainElement.cs
- CodeEventReferenceExpression.cs
- InvokeAction.cs
- MethodBody.cs
- FixedTextContainer.cs
- EntityCommandExecutionException.cs
- ReadOnlyAttribute.cs
- BooleanExpr.cs
- IndexedEnumerable.cs
- EqualityArray.cs
- Funcletizer.cs
- InvalidMessageContractException.cs
- OrderedEnumerableRowCollection.cs
- ContainerTracking.cs
- ProviderUtil.cs
- OracleMonthSpan.cs
- HttpsTransportElement.cs
- String.cs
- _FtpControlStream.cs
- MemberDomainMap.cs
- ConfigsHelper.cs
- ElementUtil.cs
- CryptoApi.cs
- DocumentViewerConstants.cs
- MethodCallConverter.cs
- ErrorTableItemStyle.cs
- RichTextBoxAutomationPeer.cs
- ObjectSet.cs
- XmlNode.cs
- AttachmentService.cs
- Ref.cs
- Funcletizer.cs