declaration:
::lua
function transfer_image_transform(sid, did) => nil
Take a transformation queue associated with sid and set it as the active transformation queue for did.
The full ramifications of this function is complex, and should be used carefully.
caveats:
sid and did cannot be the same object and there is no translation between coordinate spaces, the transforms are still expressed in their respective local coordinate systems, and may resolve to different values after the transfer.
Hidden properties, e.g. original size (for aspect calculations) etc. will also be transferred irrevocably (scale / resize are all calculated against original size).
Any current transformations in did will be dropped silently.
related functions: