create_system_bitmap - Man Page

Creates a system memory bitmap. Allegro game programming library.

Synopsis

#include <allegro.h>

BITMAP *create_system_bitmap(int width, int height);

Description

Allocates a system memory bitmap of the specified size. Read the introduction of this chapter for a comparison with other types of bitmaps and other specific details.

Return Value

Returns a pointer to the bitmap on success, NULL otherwise. Remember to destroy this bitmap before any subsequent call to set_gfx_mode().

See Also

create_bitmap(3), create_bitmap_ex(3), create_video_bitmap(3), create_sub_bitmap(3), destroy_bitmap(3), is_system_bitmap(3), clear_bitmap(3), clear_to_color(3), exupdate(3)

Referenced By

create_bitmap(3), create_bitmap_ex(3), create_video_bitmap(3), exupdate(3), is_system_bitmap(3).

version 4.4.3 Allegro manual