transfer_image_transform(3)
πΈ 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
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms