originTransformation added, resize nw/se implemented