In the two previous recipes, you learned how to handle the pinch and rotate touch events. However, is it possible to combine them? Of course! You will learn how to scale and rotate the image at the same time in this recipe.
To step through this recipe, you need only the automatically generated project.
To prepare the example that handles both the pinch and rotate touch events to scale and rotate the image presented on the page, perform the following steps:
Photo.jpgfile to the
MainPage.xamlfile, as follows: ...