1al_clone_bitmap(3)                                          al_clone_bitmap(3)
2
3
4

NAME

6       al_clone_bitmap - Allegro 5 API
7

SYNOPSIS

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

DESCRIPTION

14       Create  a  new bitmap with al_create_bitmap(3), and copy the pixel data
15       from the old bitmap across.  The newly created bitmap will  be  created
16       with  the  current new bitmap flags, and not the ones that were used to
17       create the original bitmap.  If the new bitmap is a memory bitmap,  its
18       projection bitmap is reset to be orthographic.
19

SEE ALSO

21       al_create_bitmap(3),    al_set_new_bitmap_format(3),    al_set_new_bit‐
22       map_flags(3), al_convert_bitmap(3)
23
24
25
26Allegro reference manual                                    al_clone_bitmap(3)
Impressum