O'Reilly logo

Building Tablet PC Applications by Philip Su, Rob Jarrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering Digital Ink

If you take a look through the full list of properties and methods for the Ink and Stroke classes, you’ll notice that any functions for drawing ink strokes are conspicuously missing. The Tablet PC Platform in fact provides a lot of functionality to do this—so much so that it is encapsulated into its own class, called Renderer.

Renderer Class

The primary purpose of the Renderer class is to draw ink into a viewport and maintain a transformation on the ink space. A viewport can be thought of as an opening to a drawing surface such as the screen, a printer, or a bitmap. The transformation on the ink space is used to achieve zooming, sizing, scrolling, and rotation effects without having to modify the (x,y) data of the Stroke objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required