draw_compiled_sprite man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

draw_compiled_sprite(3)		Allegro manual	       draw_compiled_sprite(3)

NAME
       draw_compiled_sprite  -	Draws a compiled sprite. Allegro game program‐
       ming library.

SYNOPSIS
       #include <allegro.h>

       void draw_compiled_sprite(BITMAP *bmp, const  COMPILED_SPRITE  *sprite,
       int x, int y);

DESCRIPTION
       Draws  a	 compiled  sprite onto a bitmap at the specified position. The
       sprite must have been compiled for the correct type of  bitmap  (linear
       or planar). This function does not support clipping.

       Hint:  if  not being able to clip compiled sprites is a problem, a neat
       trick is to set up  a  work  surface  (memory  bitmap,  mode-X  virtual
       screen,	or  whatever)  a  bit bigger than you really need, and use the
       middle of it as your screen. That way you can  draw  slightly  off  the
       edge without any trouble...

SEE ALSO
       get_compiled_sprite(3),	  draw_sprite(3),   draw_rle_sprite(3),	  bit‐
       map_mask_color(3)

Allegro				 version 4.4.2	       draw_compiled_sprite(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net