1create_system_bitmap(3) Allegro manual create_system_bitmap(3)
2
3
4
6 create_system_bitmap - Creates a system memory bitmap. Allegro game
7 programming library.
8
10 #include <allegro.h>
11
12
13 BITMAP *create_system_bitmap(int width, int height);
14
16 Allocates a system memory bitmap of the specified size. Read the intro‐
17 duction of this chapter for a comparison with other types of bitmaps
18 and other specific details.
19
21 Returns a pointer to the bitmap on success, NULL otherwise. Remember to
22 destroy this bitmap before any subsequent call to set_gfx_mode().
23
24
26 create_bitmap(3), create_bitmap_ex(3), create_video_bitmap(3), cre‐
27 ate_sub_bitmap(3), destroy_bitmap(3), is_system_bitmap(3), clear_bit‐
28 map(3), clear_to_color(3), exupdate(3)
29
30
31
32Allegro version 4.2.2 create_system_bitmap(3)