Scales the coordinate system by scaleX horizontally and scaleY vertically around pivot point (px, py).