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


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


#ifndef FL_IMAGE_SURFACE_GUARD
#define FL_IMAGE_SURFACE_GUARD


typedef void* IMAGESURFACE;


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


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


extern "C" void * fl_image_surface_image(IMAGESURFACE s);
extern "C" void * fl_image_surface_highres_image(IMAGESURFACE s);


extern "C" void fl_image_surface_set_current(IMAGESURFACE s);


#endif