php man page for rotate_sprite_trans

Query: rotate_sprite_trans

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

rotate_sprite_trans(3alleg4)					  Allegro manual				      rotate_sprite_trans(3alleg4)

NAME
rotate_sprite_trans - Rotates a sprite. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void rotate_sprite_trans(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 differ- ent 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_trans_sprite(3alleg4), rotate_scaled_sprite_trans(3alleg4), rotate_sprite_v_flip_trans(3alleg4), rotate_scaled_sprite_v_flip_trans(3alleg4), pivot_sprite_trans(3alleg4), pivot_sprite_v_flip_trans(3alleg4), pivot_scaled_sprite_trans(3alleg4), pivot_scaled_sprite_v_flip_trans(3alleg4), itofix(3alleg4), exsprite(3alleg4) Allegro version 4.4.2 rotate_sprite_trans(3alleg4)
Related Man Pages
rotate_sprite(3alleg4) - debian
rotate_sprite(3alleg4) - suse
rotate_sprite(3alleg4) - centos
rotate_sprite_trans(3alleg4) - centos
rotate_sprite_v_flip_trans(3alleg4) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!