Summary

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 on the ink. The DrawingAttributes class enables the ink to be formatted in a wide variety of ways, and it includes specifying functionality such as antialiasing, curve fitting, and rendering with pressure data.

Now let s turn to the next chapter, which continues our discussion of ink data management.



Building Tablet PC Applications
Building Tablet PC Applications (Pro-Developer)
ISBN: 0735617236
EAN: 2147483647
Year: 2001
Pages: 73

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net