summaryrefslogtreecommitdiff
path: root/src/c_fl_rgb_image.h
blob: 3ec4c58e15a151ab3233a3771dd466fbecbff39f (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


#ifndef FL_RGB_IMAGE_GUARD
#define FL_RGB_IMAGE_GUARD




typedef void* RGB_IMAGE;




extern "C" void free_fl_rgb_image(RGB_IMAGE i);
extern "C" RGB_IMAGE fl_rgb_image_copy(RGB_IMAGE i, int w, int h);
extern "C" RGB_IMAGE fl_rgb_image_copy2(RGB_IMAGE i);




extern "C" void fl_rgb_image_color_average(RGB_IMAGE i, int c, float b);
extern "C" void fl_rgb_image_desaturate(RGB_IMAGE i);


extern "C" void fl_rgb_image_draw2(RGB_IMAGE i, int x, int y);
extern "C" void fl_rgb_image_draw(RGB_IMAGE i, int x, int y, int w, int h, int cx, int cy);


#endif