Rendering Handwriting
If you’re adding special support for pen in your app, then you likely want to render the strokes that the user is writing or drawing with the pen. You can do this with the help of a Windows Runtime class called InkManager. InkManager keeps track of strokes, manages the ability to erase and select them, enables the data to be saved to and loaded from a stream, and even exposes handwriting recognition capabilities! All you need to do is feed an InkManager the appropriate raw pointer data received by the PointerPressed, PointerMoved, and PointerReleased family of events. Note that InkManager itself does not provide any rendering capabilities. Therefore, the role InkManager plays is very similar to the role of GestureRecognizer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access