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
- InheritanceService.cs
- SqlCommandAsyncResult.cs
- InvalidCastException.cs
- ICspAsymmetricAlgorithm.cs
- ActionFrame.cs
- UpDownBase.cs
- SQLResource.cs
- ISAPIRuntime.cs
- XmlDataSource.cs
- AxParameterData.cs
- FlowLayout.cs
- AnimatedTypeHelpers.cs
- PropertyMap.cs
- TableColumn.cs
- DataBoundControlHelper.cs
- DbProviderFactory.cs
- Container.cs
- Quaternion.cs
- Renderer.cs
- TextServicesManager.cs
- DefaultHttpHandler.cs
- AliasGenerator.cs
- TaskExtensions.cs
- PrincipalPermission.cs
- odbcmetadatacollectionnames.cs
- WindowsGrip.cs
- TreeNodeConverter.cs
- RedirectionProxy.cs
- TableLayout.cs
- Encoder.cs
- KeyEvent.cs
- GotoExpression.cs
- MessageSmuggler.cs
- EmbeddedMailObjectCollectionEditor.cs
- X509CertificateCollection.cs
- FormatConvertedBitmap.cs
- MemberMaps.cs
- RunClient.cs
- NGCSerializationManager.cs
- XmlNodeReader.cs
- brushes.cs
- TypedTableBaseExtensions.cs
- XmlDeclaration.cs
- DataColumnCollection.cs
- IssuanceLicense.cs
- TemplateKey.cs
- StartUpEventArgs.cs
- BezierSegment.cs
- Zone.cs
- SharedUtils.cs
- CacheOutputQuery.cs
- COSERVERINFO.cs
- StaticResourceExtension.cs
- HitTestWithPointDrawingContextWalker.cs
- XmlQuerySequence.cs
- DefaultAssemblyResolver.cs
- StatusBar.cs
- XmlCollation.cs
- DocumentXmlWriter.cs
- NotificationContext.cs
- RewritingPass.cs
- Int16KeyFrameCollection.cs
- RangeValueProviderWrapper.cs
- xamlnodes.cs
- BufferBuilder.cs
- DataObject.cs
- DesignSurfaceEvent.cs
- InputReport.cs
- SQLString.cs
- NativeCppClassAttribute.cs
- ProcessHost.cs
- PrivilegedConfigurationManager.cs
- SubstitutionList.cs
- ContextMarshalException.cs
- DataGridViewCellFormattingEventArgs.cs
- ImageSource.cs
- PageHandlerFactory.cs
- NotifyIcon.cs
- DropTarget.cs
- Label.cs
- _ListenerRequestStream.cs
- DataObjectPastingEventArgs.cs
- FontFamily.cs
- RelationshipDetailsRow.cs
- CacheHelper.cs
- QueryStringHandler.cs
- Point.cs
- BoundsDrawingContextWalker.cs
- TraceLevelStore.cs
- WebPartConnectionsCancelVerb.cs
- CultureInfoConverter.cs
- DataRowChangeEvent.cs
- TemplateKeyConverter.cs
- ShaperBuffers.cs
- ObjectParameter.cs
- MemberHolder.cs
- OutputCacheModule.cs
- RemotingServices.cs
- ValueTable.cs
- TextRangeEdit.cs