S(1,4) became S'(-4,1), so the transformation appears to be
... (x, y) ⇒ (-y, x)
Line RS pointed east; now R'S' points north. The tansformation is a ...
... counterclockwise rotation of 90°.