1is_linear_bitmap(3) Allegro manual is_linear_bitmap(3)
2
3
4
6 is_linear_bitmap - Tells if a bitmap is linear. Allegro game programā
7 ming library.
8
10 #include <allegro.h>
11
12
13 int is_linear_bitmap(BITMAP *bmp);
14
16 Returns TRUE if bmp is a linear bitmap, i.e. a bitmap that can be
17 accessed linearly within each scanline (for example a memory bitmap,
18 the DOS VGA or SVGA screen, Windows bitmaps, etc). Linear bitmaps can
19 be used with the _putpixel(), _getpixel(), bmp_write_line(), and
20 bmp_read_line() functions.
21
22 Historically there were only linear and planar bitmaps for Allegro, so
23 is_linear_bitmap() is actually an alias for !is_planar_bitmap().
24
25
27 is_planar_bitmap(3), is_memory_bitmap(3)
28
29
30
31Allegro version 4.2.3 is_linear_bitmap(3)