Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
move_image(3)			  Arcan Lua API 		   move_image(3)

NAME
     move_image  -  Set  new world-space coordinates for the specified video ob-
     ject.

SYNOPSIS
     nil
     move_image( vid, newx, newy, time, interp )

DESCRIPTION
     All move/scale/rotate transforms can be animated by specifying  a	relative
     deadline.	These can be both queued and combined, letting the engine to in-
     terpolate (linearly by default) allowing for inexpensive yet smooth transi-
     tions and animations. Interp can be set to  any  of  the  constants  (  IN-
     TERP_LINEAR  , INTERP_SINE , INTERP_EXPIN , INTERP_EXPOUT , INTERP_EXPINOUT
     , INTERP_SMOOTHSTEP ).

EXAMPLE
     function move_image0()
	   a = fill_surface(64, 64, 255, 0, 0);
	   show_image(a);
	   move_image(a, VRESW, VRESH, 200);
	   move_image(a, 0, 0, 100);
     end

SEE ALSO:
     rotate_image(3) scale_image(3) nudge_image(3) resize_image(3)

image				   August 2026			   move_image(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=move_image&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help