1al_draw_tinted_scaled_rotated_bitamla_pd_rraewg_itoinn(t3e)d_scaled_rotated_bitmap_region(3)
2
3
4

NAME

6       al_draw_tinted_scaled_rotated_bitmap_region - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_draw_tinted_scaled_rotated_bitmap_region(ALLEGRO_BITMAP *bitmap,
12                 float sx, float sy, float sw, float sh,
13                 ALLEGRO_COLOR tint,
14                 float cx, float cy, float dx, float dy, float xscale, float yscale,
15                 float angle, int flags)
16

DESCRIPTION

18       Like  al_draw_tinted_scaled_rotated_bitmap(3)  but  you specify an area
19       within the bitmap to be drawn.
20
21       You can get the same effect with a sub bitmap:
22
23              al_draw_tinted_scaled_rotated_bitmap(bitmap, sx, sy, sw, sh, tint,
24                  cx, cy, dx, dy, xscale, yscale, angle, flags);
25
26              /* This draws the same: */
27              sub_bitmap = al_create_sub_bitmap(bitmap, sx, sy, sw, sh);
28              al_draw_tinted_scaled_rotated_bitmap(sub_bitmap, tint, cx, cy,
29                  dx, dy, xscale, yscale, angle, flags);
30
31       See al_draw_bitmap(3) for a note on restrictions on which  bitmaps  can
32       be drawn where.
33

SINCE

35       5.0.6, 5.1.0
36

SEE ALSO

38       al_draw_tinted_bitmap(3)
39
40
41
42Allegro reference manual        al_draw_tinted_scaled_rotated_bitmap_region(3)
Impressum