Add scaling and rotation.