Chapter 6 - Tablet PC Platform SDK: Ink Data Management, Part II

Chapter 6

Tablet PC Platform SDK: Ink Data Management, Part II

This chapter explores more of the Tablet PC Platform s Ink Data Management API. In Chapter 5, we learned about the creation, ownership, and rendering of ink data. Now we can use this knowledge to work with the platform s more advanced functionality.

We ll begin the chapter by delving into ink stroke geometry. This includes topics such as computing bounds, intersections, and applying transformations. Then we ll move on to study hit-testing ink strokes, where among other things a solution for performing real-time lasso selection is presented. Next we ll discuss how to split and chop strokes into pieces. Finally, we ll discuss how to persist ink data to and from a stream and from the Microsoft Windows clipboard. In doing so we ll see how to perform an ink data drag and drop operation.

We provide plenty of examples showing how the APIs are used, and in fact much of this chapter is code. As a developer, I find that there s no better way to learn than by seeing firsthand how something is done. Hopefully, you agree. There s a lot to cover, so let s jump right in.



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