summaryrefslogtreecommitdiff
path: root/src/c_fl_bitmap.h
blob: a7b7999bdac20952c599a8efd45b6d23fe5052ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef FL_BITMAP_GUARD
#define FL_BITMAP_GUARD




typedef void* BITMAP;




extern "C" BITMAP new_fl_bitmap(void *data, int w, int h);
extern "C" void free_fl_bitmap(BITMAP b);
extern "C" BITMAP fl_bitmap_copy(BITMAP b, int w, int h);
extern "C" BITMAP fl_bitmap_copy2(BITMAP b);


extern "C" void fl_bitmap_uncache(BITMAP b);


extern "C" void fl_bitmap_draw2(BITMAP b, int x, int y);
extern "C" void fl_bitmap_draw(BITMAP b, int x, int y, int w, int h, int cx, int cy);


#endif