On function transform2d