1al_convert_bitmap(3)                                      al_convert_bitmap(3)
2
3
4

NAME

6       al_convert_bitmap - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_convert_bitmap(ALLEGRO_BITMAP *bitmap)
12

DESCRIPTION

14       Converts the bitmap to the current bitmap flags and format.  The bitmap
15       will be as if it was created anew with al_create_bitmap(3)  but  retain
16       its contents.  All of this bitmap’s sub-bitmaps are also converted.  If
17       the new bitmap type is memory, then the bitmap’s projection  bitmap  is
18       reset to be orthographic.
19
20       If this bitmap is a sub-bitmap, then it, its parent and all the sibling
21       sub-bitmaps are also converted.
22

SINCE

24       5.1.0
25

SEE ALSO

27       al_create_bitmap(3),    al_set_new_bitmap_format(3),    al_set_new_bit‐
28       map_flags(3), al_clone_bitmap(3)
29
30
31
32Allegro reference manual                                  al_convert_bitmap(3)
Impressum