FreeBSD Manual Pages
image_transform_cycle(3) Arcan Lua API image_transform_cycle(3) NAME image_transform_cycle - Toggle transform cycles ON/OFF. SYNOPSIS nil image_transform_cycle( vid, toggle ) DESCRIPTION The default behavior for objects with one or several transforms queued is to drop all tracking of a transform state after it has been com- pleted. This function changes that behavior to instead requeue the transform at the end of the chain, looping the animation. NOTES 1 Since this makes a lot of the object state variable, this func- tion has a severe impact on the ability to cache previous states and can thus be very expensive. EXAMPLE function image_transform_cycle0() a = fill_surface(32, 32, 255, 0, 0); image_transform_cycle(a, 1); move_image(a, 100, 100, 100); rotate_image(a, 100, 100); move_image(a, 10, 10, 100); scale_image(a, 64, 64, 25); scale_image(a, 32, 32, 25); end image April 2025 image_transform_cycle(3)
NAME | SYNOPSIS | DESCRIPTION | NOTES | EXAMPLE
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=image_transform_cycle&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>