summaryrefslogtreecommitdiff
path: root/src/c_fl_graphics_driver.h
blob: d255400eabdedde6a26c10d692d93fffbb1fa5cd (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_GRAPHICS_DRIVER_GUARD
#define FL_GRAPHICS_DRIVER_GUARD




typedef void* GRAPHICS_DRIVER;




extern "C" unsigned int fl_graphics_driver_color(GRAPHICS_DRIVER g);


extern "C" int fl_graphics_driver_descent(GRAPHICS_DRIVER g);
extern "C" int fl_graphics_driver_height(GRAPHICS_DRIVER g);
extern "C" double fl_graphics_driver_width(GRAPHICS_DRIVER g, unsigned int c);
extern "C" double fl_graphics_driver_width2(GRAPHICS_DRIVER g, const char * s, int l);
extern "C" int fl_graphics_driver_get_font(GRAPHICS_DRIVER g);
extern "C" int fl_graphics_driver_size(GRAPHICS_DRIVER g);
extern "C" void fl_graphics_driver_set_font(GRAPHICS_DRIVER g, int f, int s);


extern "C" void fl_graphics_driver_draw_scaled(GRAPHICS_DRIVER g, void * i, int x, int y, int w, int h);


#endif