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

FreeBSD Manual Pages

  
 
  

home | help
pivot_sprite(3) 		 Allegro manual 		 pivot_sprite(3)

NAME
     pivot_sprite - Rotates a sprite around a specified point. Allegro game pro-
     gramming library.

SYNOPSIS
     #include <allegro.h>

     void  pivot_sprite(BITMAP	*bmp,  BITMAP *sprite, int x, int y, int cx, int
     cy, fixed angle);

DESCRIPTION
     Like rotate_sprite(), but aligns the point in the sprite given by (cx,  cy)
     to (x, y) in the bitmap, then rotates around this point.

SEE ALSO
     rotate_sprite(3),	    pivot_scaled_sprite(3),	 pivot_sprite_v_flip(3),
     exsprite(3)

Allegro 			  version 4.4.3 		 pivot_sprite(3)

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

home | help