I have to transform (namely translate and rotate) any 2D Graphics. Of course, I know about TranslationTransform, RotationTransform, GeometricTransformation, and the like. But they all act on graphics primitives, not on a completed Graphics.
I’m afraid it’s a stupid question, but Is there some direct way to transform a Graphics? Something like:
Operate over the complete Graphics command may produce undesired outputs, as the coordinates axes are not left fixed. One way is to use Rule transformations on the Graphics Primitives that you need as follows
That’s clear. But it transforms the primitives, just like GeometricTransformation, not the Graphics.
And it requires knowledge of all primitives within the Graphics.
Yes, it basically works in a way similar to your GeometricTransformation example. Also similar to Ian’s MapAt. But what drawbacks do you see with these methods?