1#[repr(C)]
4#[derive(Debug, Copy, Clone)]
5pub struct Fl_Surface_Device {
6 _unused: [u8; 0],
7}
8extern "C" {
9 pub fn Fl_Surface_Device_set_current(self_: *mut Fl_Surface_Device);
10}
11extern "C" {
12 pub fn Fl_Surface_Device_is_current(self_: *mut Fl_Surface_Device) -> ::core::ffi::c_int;
13}
14extern "C" {
15 pub fn Fl_Surface_Device_surface() -> *mut Fl_Surface_Device;
16}
17extern "C" {
18 pub fn Fl_Surface_Device_push_current(new_current: *mut Fl_Surface_Device);
19}
20extern "C" {
21 pub fn Fl_Surface_Device_pop_current() -> *mut Fl_Surface_Device;
22}
23#[repr(C)]
24#[derive(Debug, Copy, Clone)]
25pub struct Fl_Image_Surface {
26 _unused: [u8; 0],
27}
28extern "C" {
29 pub fn Fl_Image_Surface_new(
30 w: ::core::ffi::c_int,
31 h: ::core::ffi::c_int,
32 high_res: ::core::ffi::c_int,
33 ) -> *mut Fl_Image_Surface;
34}
35extern "C" {
36 pub fn Fl_Image_Surface_delete(s: *mut Fl_Image_Surface);
37}
38extern "C" {
39 pub fn Fl_Image_Surface_set_current(self_: *mut Fl_Image_Surface);
40}
41extern "C" {
42 pub fn Fl_Image_Surface_is_current(self_: *mut Fl_Image_Surface) -> ::core::ffi::c_int;
43}
44extern "C" {
45 pub fn Fl_Image_Surface_image(self_: *mut Fl_Image_Surface) -> *mut ::core::ffi::c_void;
46}
47extern "C" {
48 pub fn Fl_Image_Surface_highres_image(self_: *mut Fl_Image_Surface)
49 -> *mut ::core::ffi::c_void;
50}
51extern "C" {
52 pub fn Fl_Image_Surface_origin(
53 self_: *mut Fl_Image_Surface,
54 x: *mut ::core::ffi::c_int,
55 y: *mut ::core::ffi::c_int,
56 );
57}
58extern "C" {
59 pub fn Fl_Image_Surface_set_origin(
60 self_: *mut Fl_Image_Surface,
61 x: ::core::ffi::c_int,
62 y: ::core::ffi::c_int,
63 );
64}
65extern "C" {
66 pub fn Fl_Image_Surface_rescale(self_: *mut Fl_Image_Surface);
67}
68extern "C" {
69 pub fn Fl_Image_Surface_draw(
70 self_: *mut Fl_Image_Surface,
71 widget: *mut ::core::ffi::c_void,
72 delta_x: ::core::ffi::c_int,
73 delta_y: ::core::ffi::c_int,
74 );
75}
76extern "C" {
77 pub fn Fl_Image_Surface_draw_decorated_window(
78 self_: *mut Fl_Image_Surface,
79 widget: *mut ::core::ffi::c_void,
80 delta_x: ::core::ffi::c_int,
81 delta_y: ::core::ffi::c_int,
82 );
83}
84#[repr(C)]
85#[derive(Debug, Copy, Clone)]
86pub struct Fl_SVG_File_Surface {
87 _unused: [u8; 0],
88}
89extern "C" {
90 pub fn Fl_SVG_File_Surface_new(
91 width: ::core::ffi::c_int,
92 height: ::core::ffi::c_int,
93 file: *const ::core::ffi::c_char,
94 ) -> *mut Fl_SVG_File_Surface;
95}
96extern "C" {
97 pub fn Fl_SVG_File_Surface_delete(self_: *mut Fl_SVG_File_Surface);
98}
99extern "C" {
100 pub fn Fl_SVG_File_Surface_origin(
101 self_: *mut Fl_SVG_File_Surface,
102 x: ::core::ffi::c_int,
103 y: ::core::ffi::c_int,
104 );
105}
106extern "C" {
107 pub fn Fl_SVG_File_Surface_printable_rect(
108 self_: *mut Fl_SVG_File_Surface,
109 w: *mut ::core::ffi::c_int,
110 h: *mut ::core::ffi::c_int,
111 ) -> ::core::ffi::c_int;
112}
113extern "C" {
114 pub fn Fl_SVG_File_Surface_draw(
115 self_: *mut Fl_SVG_File_Surface,
116 widget: *mut ::core::ffi::c_void,
117 delta_x: ::core::ffi::c_int,
118 delta_y: ::core::ffi::c_int,
119 );
120}
121extern "C" {
122 pub fn Fl_SVG_File_Surface_draw_decorated_window(
123 self_: *mut Fl_SVG_File_Surface,
124 widget: *mut ::core::ffi::c_void,
125 delta_x: ::core::ffi::c_int,
126 delta_y: ::core::ffi::c_int,
127 );
128}