Added support for get_affine_transform