is_memory_bitmap

Langue: en

Version: version 4.2.2 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

is_memory_bitmap - Tells if a bitmap is a memory bitmap. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int is_memory_bitmap(BITMAP *bmp);

DESCRIPTION

Returns TRUE if bmp is a memory bitmap, ie. it was created by calling create_bitmap() or loaded from a grabber datafile or image file. Memory bitmaps can be accessed directly via the line pointers in the bitmap structure, eg. bmp->line[y][x] = color.

SEE ALSO

is_linear_bitmap(3), is_planar_bitmap(3)