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


#ifndef FL_IMAGE_SURFACE_GUARD
#define FL_IMAGE_SURFACE_GUARD




typedef void* IMAGE_SURFACE;




extern "C" inline IMAGE_SURFACE new_fl_image_surface(int w, int h, int r);
extern "C" inline void free_fl_image_surface(IMAGE_SURFACE s);




extern "C" inline void fl_image_surface_draw(IMAGE_SURFACE s, void * w, int dx, int dy);
extern "C" inline void fl_image_surface_draw_decorated_window(IMAGE_SURFACE s, void * w, int dx, int dy);


extern "C" inline void * fl_image_surface_image(IMAGE_SURFACE s);
extern "C" inline void * fl_image_surface_highres_image(IMAGE_SURFACE s);


extern "C" inline void fl_image_surface_set_current(IMAGE_SURFACE s);


#endif