.\" Generated by the Allegro makedoc utility .TH draw_sprite_ex 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME draw_sprite_ex \- Draws a optionally flipped/blended/tinted sprite on the bitmap. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void draw_sprite_ex(BITMAP *bmp, BITMAP *sprite, int x, int y, .B int mode, int flip); .SH DESCRIPTION Draws the sprite image onto the destination bitmap using the specified mode argument, optionally flipping the sprite in the orientation specified by flip argument. The mode argument defines how is sprite going to be drawn on the destination bitmap: .nf DRAW_SPRITE_NORMAL - draws a masked sprite, like draw_sprite() DRAW_SPRITE_LIT - draws a tinted sprite, like draw_lit_sprite() DRAW_SPRITE_TRANS - draws a blended sprite, like draw_trans_sprite() .fi The flip argument defines the flipping orientation: .nf DRAW_SPRITE_NO_FLIP = 0 - do not perform flipping DRAW_SPRITE_H_FLIP - flip horizontally DRAW_SPRITE_V_FLIP - flip vertically DRAW_SPRITE_VH_FLIP - flip both vertically and horizontally .fi .SH SEE ALSO .BR draw_sprite (3alleg4), .BR draw_sprite_v_flip (3alleg4), .BR draw_sprite_h_flip (3alleg4), .BR draw_trans_sprite (3alleg4), .BR draw_lit_sprite (3alleg4), .BR extrans2 (3alleg4)