GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DRAW_SPRITE_EX (3)

NAME

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

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

void draw_sprite_ex(BITMAP *bmp, BITMAP *sprite, int x, int y, int mode, int flip);

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:

   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()
  

The flip argument defines the flipping orientation:

   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
  

SEE ALSO

draw_sprite(3), draw_sprite_v_flip(3), draw_sprite_h_flip(3), draw_trans_sprite(3), draw_lit_sprite(3), extrans2(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro DRAW_SPRITE_EX (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.