Multitouch gestures can be used to define a transformation, i.e. one finger for translations, two fingers for similarities, three fingers for affine transformations and four fingers for projective transformations.