Summary

The Ink class contains instances of the Stroke class. The Strokes collection references Stroke objects via a unique stroke ID value. Strokes collections are just like a .NET Framework collection, that is, references can be added, removed, and searched, all without affecting the lifetime or ownership of Stroke objects.

Stroke objects are generated as a result of tablet input by the InkCollector and InkOverlay classes, and they can also be programmatically created with the CreateStroke method of the Ink class. They can be copied to other Ink objects, and they can never live outside the ownership of an Ink object.

The Renderer class is used to draw ink strokes to a Graphics object or Windows device context, and it can apply an arbitrary transformation ...

Get Building Tablet PC Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.