Originally Posted by twobob
pretty sure its only a two touch interface. so the brush size stuff may not work as expected. opacity via a dropdown would also be fine. nice one mate.
Two touches. And rotation is not reliable (only resizing). The corner coordinates can get swapped while rotating when both touches cross the same X or Y position. I have some (unfinished) code that corrects for this quite reliably using velocity tracking instead of positional tracking, swapping corners as needed to maintain rotational continuity. That was a script though, so I need to convert it to C and complete it. Resizing is easy though -- just measure a diagonal of the bounding rectangle of your two touch points.