Can we construct parallel movement function which act on Graphics primitive
or Graphics
?
Example of Graphics primitive
: Circle[{0,0},1]
Example of Graphics
: Graphics[Circle[{0,0},1]]
For example, can you construct function F
or G
? (I want both)
The unit of parallel movement must be user unit.
I mean the radius length of Circle[{0,0},1]
is 1 user unit.
Hope the function (F
or G
) do not rely on Inset
.
It's too difficult to handle Inset
accurately with my skills,
so I want to avoid Inset
as much as possible (for a while).
Also I hope the function should act correctly on complicated case, like nested structure of Graphics
/Show
/Inset
.
If there is no direct method, then we should be able to do followings :
- extract every graphic primitives from nested structure of
Graphics
/Show
/Inset
- apply parallel movement for all those graphic primitives
- combine processed graphic primitives
The code would be lengthy and difficult to make but it would be useful. Anyone who doesn't have that code or have no time but think there is no direct method, please leave it as comment. Thank you!
TranslationTransform
? $\endgroup$graphics primitive
. CanTranslationTransform
be applied easily forgraphics
of complicated structures? $\endgroup$GraphicsComplex
could handle the nested structure you have but I am not conversant with its use. $\endgroup$