Linux & Unix Commands - Search Man Pages
pivot_scaled_sprite_trans(3alleg4) [opendarwin man page]
pivot_scaled_sprite_trans(3alleg4) Allegro manual pivot_scaled_sprite_trans(3alleg4)
NAME
pivot_scaled_sprite_trans - Rotates and stretches a sprite around a specified point. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void pivot_scaled_sprite_trans(BITMAP *bmp, BITMAP *sprite, int x, int y, int cx, int cy, fixed angle, fixed scale);
DESCRIPTION
Like rotate_scaled_sprite_trans(), but aligns the point in the sprite given by (cx, cy) to (x, y) in the bitmap, then rotates and scales
around this point.
SEE ALSO
rotate_sprite_trans(3alleg4) , rotate_scaled_sprite_trans(3alleg4) , pivot_sprite_trans(3alleg4) , pivot_scaled_sprite_v_flip_trans(3alleg4)
Allegro version 4.4.2 pivot_scaled_sprite_trans(3alleg4)
Check Out this Related Man Page
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)
Man Page
2 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies
2. OS X (Apple)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies