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

FreeBSD Manual Pages

  
 
  

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

NAME
     rotate_image - Rotate the image around its own center.

SYNOPSIS
     nil
     rotate_image( vid, newang, dt )
     rotate_image( vid, newx, newy, time )

DESCRIPTION
NOTES
     1	    For  transformation hierarchies where the orientation will depend on
	    that of a parent, grandparent etc. the desired effect might  require
	    that  you  define  an  origo  translation  through	the  use  of im-
	    age_origo_offset.

EXAMPLE
     function rotate_image0()
	   a = fill_surface(64, 64, 255, 0, 0);
	   show_image(a);
	   rotate_image(a, 180, 200);
	   rotate_image(a, 270, 100);
	   rotate_image(a, 380, 100);
	   rotate_image(a, 0, 100);
     end

SEE ALSO:
     image_origo_shift(3)

image				   August 2026			 rotate_image(3)

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

home | help