1draw_sprite_ex(3)               Allegro manual               draw_sprite_ex(3)
2
3
4

NAME

6       draw_sprite_ex  -  Draws  a optionally flipped/blended/tinted sprite on
7       the bitmap. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void draw_sprite_ex(BITMAP *bmp, BITMAP *sprite,  int  x,  int  y,  int
14       mode, int flip);
15

DESCRIPTION

17       Draws  the sprite image onto the destination bitmap using the specified
18       mode argument, optionally flipping the sprite in the orientation speciā€
19       fied  by  flip argument.  The mode argument defines how is sprite going
20       to be drawn on the destination bitmap:
21
22          DRAW_SPRITE_NORMAL     - draws a masked sprite, like draw_sprite()
23          DRAW_SPRITE_LIT        - draws a tinted sprite, like draw_lit_sprite()
24          DRAW_SPRITE_TRANS      - draws a blended sprite, like draw_trans_sprite()
25
26
27       The flip argument defines the flipping orientation:
28
29          DRAW_SPRITE_NO_FLIP = 0    - do not perform flipping
30          DRAW_SPRITE_H_FLIP         - flip horizontally
31          DRAW_SPRITE_V_FLIP         - flip vertically
32          DRAW_SPRITE_VH_FLIP        - flip both vertically and horizontally
33
34
35

SEE ALSO

37       draw_sprite(3),      draw_sprite_v_flip(3),      draw_sprite_h_flip(3),
38       draw_trans_sprite(3), draw_lit_sprite(3), extrans2(3)
39
40
41
42Allegro                          version 4.4.3               draw_sprite_ex(3)
Impressum