summaryrefslogtreecommitdiff
path: root/src/c_fl_pixmap.h
blob: aa3be59697375032644b61c33cb78d7498e11c3f (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
33
34
35


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


#ifndef FL_PIXMAP_GUARD
#define FL_PIXMAP_GUARD




typedef void* PIXMAP;




extern "C" void free_fl_pixmap(PIXMAP b);
extern "C" PIXMAP fl_pixmap_copy(PIXMAP b, int w, int h);
extern "C" PIXMAP fl_pixmap_copy2(PIXMAP b);


extern "C" void fl_pixmap_color_average(PIXMAP p, int c, float b);
extern "C" void fl_pixmap_desaturate(PIXMAP p);


extern "C" void fl_pixmap_uncache(PIXMAP p);


extern "C" void fl_pixmap_draw2(PIXMAP b, int x, int y);
extern "C" void fl_pixmap_draw(PIXMAP b, int x, int y, int w, int h, int cx, int cy);


#endif