rotate_sprite man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

rotate_sprite(3)		Allegro manual		      rotate_sprite(3)

NAME
       rotate_sprite - Rotates a sprite. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       void  rotate_sprite(BITMAP  *bmp,  BITMAP  *sprite, int x, int y, fixed
       angle);

DESCRIPTION
       Draws the sprite image onto the bitmap. It is placed with its top  left
       corner  at  the specified position, then rotated by the specified angle
       around its centre. The angle is a fixed point 16.16 number in the  same
       format  used by the fixed point trig routines, with 256 equal to a full
       circle, 64 a right angle, etc. All rotation functions can draw  between
       any  two	 bitmaps,  even	 screen	 bitmaps or bitmaps of different color
       depth.

       Positive increments of the angle will make the sprite rotate  clockwise
       on the screen, as demonstrated by the Allegro example.

SEE ALSO
       draw_sprite(3),	  rotate_scaled_sprite(3),    rotate_sprite_v_flip(3),
       rotate_scaled_sprite_v_flip(3),			      pivot_sprite(3),
       pivot_sprite_v_flip(3),			       pivot_scaled_sprite(3),
       pivot_scaled_sprite_v_flip(3), itofix(3), exsprite(3)

Allegro				 version 4.4.2		      rotate_sprite(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net