php man page for draw_compiled_sprite

Query: draw_compiled_sprite

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

draw_compiled_sprite(3alleg4)					  Allegro manual				     draw_compiled_sprite(3alleg4)

NAME
draw_compiled_sprite - Draws a compiled sprite. Allegro game programming 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(3alleg4), draw_sprite(3alleg4), draw_rle_sprite(3alleg4), bitmap_mask_color(3alleg4) Allegro version 4.4.2 draw_compiled_sprite(3alleg4)
Related Man Pages
draw_sprite(3alleg4) - debian
draw_sprite(3alleg4) - centos
draw_sprite(3alleg4) - opendarwin
draw_sprite(3alleg4) - netbsd
draw_sprite(3alleg4) - plan9
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!