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
       object.

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

DESCRIPTION
       All move/scale/rotate transforms	can be animated	by specifying a	 rela-
       tive  deadline.	These can be both queued and combined, letting the en-
       gine to interpolate (linearly by	default) allowing for inexpensive  yet
       smooth transitions and animations. Interp can be	set to any of the con-
       stants  (  INTERP_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				  April	2025			 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+14.3.quarterly>

home | help