An NDoc Documented Class Library

MakeInk Members

MakeInk overview

Public Instance Constructors

MakeInk Overloaded. Initializes a new instance of the MakeInk class.

Public Instance Properties

IdToCStroke Mapping from Micro Stroke id's to corresponding converter stroke
IdToMStroke Write this...
IdToMSubstrokes Get idToMicroSubstrokes hashtable;
INK Returns the Ink associated with the MakeInk object

Public Instance Methods

breakXmlStroke Break the stroke into substrokes at the indicated indices
calculateIdToMStroke Creates the IdToMStroke hashtable
createShapeWithLabel
createSubstrokes Adds the necessary substrokes to the documnent and writes it out.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
getIdToCStroke Creates the strokes in this xml document as C# strokes and adds them to the corresponding Ink object. We cannot create new strokes with the same Id's that we have in the MIT XML format, so instead we return a hash table mapping the created strokes' Ids (1, 2, ... , n) with the strokes.
GetInk Returns the Ink associated with the MakeInk object
getMStrokeById Get the microsoft stroke by the specific id.
GetType (inherited from Object) Gets the Type of the current instance.
splitStrokesOverloaded. Split both a Microsoft and Converter stroke at indices and add them to the docmunte
ToString (inherited from Object) Returns a String that represents the current Object.
writeXML Create the xml document

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Private Instance Fields

idToCStroke 
idToMStroke 
idToMSubstrokes 
ink 

Private Instance Methods

splitCStrokeOverloaded. Split up the stroke
splitMStrokeOverloaded. Given a Microsoft Stroke id, this will split the stroke into indices.Length + 1 strokes.
splitStrokesOverloaded. Split both a Microsoft and Converter stroke

See Also

MakeInk Class | Converter Namespace