locked
Problem with the Surface RT digitiser?

    Question

  • I'm working on code that supports pan, zoom & rotation of an image. I'm noticing, though, that sometimes the manipulation goes haywire. I think I've pinned it down to some silly values I'm getting from the manipulation delta args.

    Here is an example of what I mean ... ManipulationDeltaRoutedEventArgs contains Position.X and Position.Y, which are supposed to be the point from which the manipulation originates. One such set of points that my code received was X = 3000.06201171875 and Y = 1925.50158691406.

    Given that the Surface RT's screen resolution is 1366 by 768, those values seem rather improbable!

    For the time being, I've had to add a sanity check to the position values to make sure my images don't vanish off the screen but I wondered if anyone has seen this behaviour?

    Philip

    Sunday, November 11, 2012 1:10 PM