Photo Paint

The Photo Paint sample demonstrates some of the user scenarios made possible by using the SurfaceInkCanvas control. Some of these include using your fingers to write, draw, erase, paint over photos, and so on.

Photo Paint sample application

API Concepts Exposed

This sample shows how to use the SurfaceInkCanvas control to:

  • Render the path taken by a moving contact.

  • Lay a SurfaceInkCanvas control over a photo or image so you can render digital ink over the content.

  • Change the height and width of the ink stroke based on the size of the contact as its physical area changes over time.

  • Record strokes and play them back over time.

  • Produce a stroke of constant thickness.

  • Switch between drawing, manipulating, and erasing modes.

Did you find this information useful? Please send us your suggestions and comments.

© Microsoft Corporation. All rights reserved.