logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

create_system_bitmap - Creates a system memory bitmap. Allegro game programming library.

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.

Name

       create_system_bitmap - Creates a system memory bitmap. Allegro game programming library.

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(3alleg4),              create_bitmap_ex(3alleg4),             create_video_bitmap(3alleg4),
       create_sub_bitmap(3alleg4),  destroy_bitmap(3alleg4),  is_system_bitmap(3alleg4),  clear_bitmap(3alleg4),
       clear_to_color(3alleg4), exupdate(3alleg4)

Allegro                                           version 4.4.3                    create_system_bitmap(3alleg4)

Synopsis

#include<allegro.h>BITMAP*create_system_bitmap(intwidth,intheight);

See Also