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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* automatically generated by rust-bindgen */

#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Fl_Surface_Device {
    _unused: [u8; 0],
}
extern "C" {
    pub fn Fl_Surface_Device_set_current(self_: *mut Fl_Surface_Device);
}
extern "C" {
    pub fn Fl_Surface_Device_is_current(self_: *mut Fl_Surface_Device) -> libc::c_int;
}
extern "C" {
    pub fn Fl_Surface_Device_surface() -> *mut Fl_Surface_Device;
}
extern "C" {
    pub fn Fl_Surface_Device_push_current(new_current: *mut Fl_Surface_Device);
}
extern "C" {
    pub fn Fl_Surface_Device_pop_current() -> *mut Fl_Surface_Device;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Fl_Image_Surface {
    _unused: [u8; 0],
}
extern "C" {
    pub fn Fl_Image_Surface_new(
        w: libc::c_int,
        h: libc::c_int,
        high_res: libc::c_int,
    ) -> *mut Fl_Image_Surface;
}
extern "C" {
    pub fn Fl_Image_Surface_delete(s: *mut Fl_Image_Surface);
}
extern "C" {
    pub fn Fl_Image_Surface_set_current(self_: *mut Fl_Image_Surface);
}
extern "C" {
    pub fn Fl_Image_Surface_is_current(self_: *mut Fl_Image_Surface) -> libc::c_int;
}
extern "C" {
    pub fn Fl_Image_Surface_image(self_: *mut Fl_Image_Surface) -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_Image_Surface_highres_image(self_: *mut Fl_Image_Surface) -> *mut libc::c_void;
}
extern "C" {
    pub fn Fl_Image_Surface_origin(
        self_: *mut Fl_Image_Surface,
        x: *mut libc::c_int,
        y: *mut libc::c_int,
    );
}
extern "C" {
    pub fn Fl_Image_Surface_set_origin(
        self_: *mut Fl_Image_Surface,
        x: libc::c_int,
        y: libc::c_int,
    );
}
extern "C" {
    pub fn Fl_Image_Surface_rescale(self_: *mut Fl_Image_Surface);
}
extern "C" {
    pub fn Fl_Image_Surface_draw(
        self_: *mut Fl_Image_Surface,
        widget: *mut libc::c_void,
        delta_x: libc::c_int,
        delta_y: libc::c_int,
    );
}