Add MgBaseRect::transformWith2P().