summaryrefslogtreecommitdiff
path: root/src/c_fl_bitmap.h
blob: f5f6e1522798950d8b126db16a599a99a9d99e91 (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


//  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