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


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


#ifndef FL_GRAPHICS_DRIVER_GUARD
#define FL_GRAPHICS_DRIVER_GUARD


typedef void* GRAPHICSDRIVER;


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


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


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


#endif