runrev/livecode — pull request #363 by montegoulding (2013-11-06 23:06:11+00:00)
Title: Bugfix/lc interface query device scale

After reviewing my last pull request on this I realised it wasn't backwards compatible with use device resolution and would actually return 2 on iOS where in most instances we just want 1. It also I didn't like the difference between the results returned on iOS to other platforms. This pull request ensures the result of LCInterfaceQueryViewScale will always = 1 view point/pixel depending on what the platform measures the view in. This means we can always divide our rects by LCInterfaceQueryViewScale no matter what platform.