GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
image_transform_cycle(3) Arcan Lua API image_transform_cycle(3)

image_transform_cycle - Toggle transform cycles ON/OFF.

nil
image_transform_cycle( vid, toggle )

The default behavior for objects with one or several transforms queued is to drop all tracking of a transform state after it has been completed. This function changes that behavior to instead requeue the transform at the end of the chain, looping the animation.

1
Since this makes a lot of the object state variable, this function has a severe impact on the ability to cache previous states and can thus be very expensive.

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
June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.