transfer_image_transform(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

transfer_image_transform β€” from the Arcan Lua API, bestie πŸ’… β€” moves the transform chain from one VID to another.


✨ SYNOPSIS ✨

okay so the synopsis is literally giving nil, then the signature:

nil
transfer_image_transform( srcvid, dstvid )

πŸ’– DESCRIPTION πŸ’–

So transfer_image_transform is basically a combo move, no cap: it copies a transform chain (including the translation step and related side notes, as described in copy_image_transform) from srcvid to dstvid, and then it resets the source transform. Iconic. πŸŽ€

πŸŽ€ EXAMPLE πŸŽ€

here's the example, untouched because copy-paste accuracy is the moment:

       function transfer_image_transform0()
             a = fill_surface(32, 32, 255, 0, 0);
             b = fill_surface(32, 32, 0, 255, 0);
             show_image({a, b});
             move_image(a, 64, 64, 100);
             rotate_image(a, 32, 100);
             transfer_image_transform(a, b);
       end

πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’‹ β€” this page comes from the image source/version, dated October 2026, and it's the transfer_image_transform(3) page, bestie. πŸ’–

πŸ“¦ where this page comes from