fltk_sys/
printer.rs

1/* automatically generated by rust-bindgen 0.71.1 */
2
3#[repr(C)]
4#[derive(Debug, Copy, Clone)]
5pub struct Fl_Printer {
6    _unused: [u8; 0],
7}
8extern "C" {
9    pub fn Fl_Printer_new() -> *mut Fl_Printer;
10}
11extern "C" {
12    pub fn Fl_Printer_delete(self_: *mut Fl_Printer);
13}
14extern "C" {
15    pub fn Fl_Printer_begin_job(
16        self_: *mut Fl_Printer,
17        pagecount: ::core::ffi::c_int,
18        frompage: *mut ::core::ffi::c_int,
19        topage: *mut ::core::ffi::c_int,
20        perr_message: *mut *mut ::core::ffi::c_char,
21    ) -> ::core::ffi::c_int;
22}
23extern "C" {
24    pub fn Fl_Printer_begin_page(self_: *mut Fl_Printer) -> ::core::ffi::c_int;
25}
26extern "C" {
27    pub fn Fl_Printer_printable_rect(
28        self_: *mut Fl_Printer,
29        w: *mut ::core::ffi::c_int,
30        h: *mut ::core::ffi::c_int,
31    ) -> ::core::ffi::c_int;
32}
33extern "C" {
34    pub fn Fl_Printer_margins(
35        self_: *mut Fl_Printer,
36        left: *mut ::core::ffi::c_int,
37        top: *mut ::core::ffi::c_int,
38        right: *mut ::core::ffi::c_int,
39        bottom: *mut ::core::ffi::c_int,
40    );
41}
42extern "C" {
43    pub fn Fl_Printer_origin(
44        self_: *mut Fl_Printer,
45        x: *mut ::core::ffi::c_int,
46        y: *mut ::core::ffi::c_int,
47    );
48}
49extern "C" {
50    pub fn Fl_Printer_set_origin(
51        self_: *mut Fl_Printer,
52        x: ::core::ffi::c_int,
53        y: ::core::ffi::c_int,
54    );
55}
56extern "C" {
57    pub fn Fl_Printer_scale(self_: *mut Fl_Printer, scale_x: f32, scale_y: f32);
58}
59extern "C" {
60    pub fn Fl_Printer_rotate(self_: *mut Fl_Printer, angle: f32);
61}
62extern "C" {
63    pub fn Fl_Printer_translate(
64        self_: *mut Fl_Printer,
65        x: ::core::ffi::c_int,
66        y: ::core::ffi::c_int,
67    );
68}
69extern "C" {
70    pub fn Fl_Printer_untranslate(self_: *mut Fl_Printer);
71}
72extern "C" {
73    pub fn Fl_Printer_end_page(self_: *mut Fl_Printer) -> ::core::ffi::c_int;
74}
75extern "C" {
76    pub fn Fl_Printer_end_job(self_: *mut Fl_Printer);
77}
78extern "C" {
79    pub fn Fl_Printer_set_current(self_: *mut Fl_Printer);
80}
81extern "C" {
82    pub fn Fl_Printer_is_current(self_: *mut Fl_Printer) -> ::core::ffi::c_int;
83}
84extern "C" {
85    pub fn Fl_Printer_print_widget(
86        self_: *mut Fl_Printer,
87        widget: *mut ::core::ffi::c_void,
88        delta_x: ::core::ffi::c_int,
89        delta_y: ::core::ffi::c_int,
90    );
91}
92extern "C" {
93    pub fn Fl_Printer_print_window(
94        self_: *mut Fl_Printer,
95        win: *mut ::core::ffi::c_void,
96        x_offset: ::core::ffi::c_int,
97        y_offset: ::core::ffi::c_int,
98    );
99}
100extern "C" {
101    pub fn Fl_Printer_set_dialog_title(msg: *const ::core::ffi::c_char);
102}
103extern "C" {
104    pub fn Fl_Printer_set_dialog_printer(msg: *const ::core::ffi::c_char);
105}
106extern "C" {
107    pub fn Fl_Printer_set_dialog_range(msg: *const ::core::ffi::c_char);
108}
109extern "C" {
110    pub fn Fl_Printer_set_dialog_copies(msg: *const ::core::ffi::c_char);
111}
112extern "C" {
113    pub fn Fl_Printer_set_dialog_all(msg: *const ::core::ffi::c_char);
114}
115extern "C" {
116    pub fn Fl_Printer_set_dialog_pages(msg: *const ::core::ffi::c_char);
117}
118extern "C" {
119    pub fn Fl_Printer_set_dialog_from(msg: *const ::core::ffi::c_char);
120}
121extern "C" {
122    pub fn Fl_Printer_set_dialog_to(msg: *const ::core::ffi::c_char);
123}
124extern "C" {
125    pub fn Fl_Printer_set_dialog_properties(msg: *const ::core::ffi::c_char);
126}
127extern "C" {
128    pub fn Fl_Printer_set_dialog_copyNo(msg: *const ::core::ffi::c_char);
129}
130extern "C" {
131    pub fn Fl_Printer_set_dialog_print_button(msg: *const ::core::ffi::c_char);
132}
133extern "C" {
134    pub fn Fl_Printer_set_dialog_cancel_button(msg: *const ::core::ffi::c_char);
135}
136extern "C" {
137    pub fn Fl_Printer_set_dialog_print_to_file(msg: *const ::core::ffi::c_char);
138}
139extern "C" {
140    pub fn Fl_Printer_set_property_title(msg: *const ::core::ffi::c_char);
141}
142extern "C" {
143    pub fn Fl_Printer_set_property_pagesize(msg: *const ::core::ffi::c_char);
144}
145extern "C" {
146    pub fn Fl_Printer_set_property_mode(msg: *const ::core::ffi::c_char);
147}
148extern "C" {
149    pub fn Fl_Printer_set_property_use(msg: *const ::core::ffi::c_char);
150}
151extern "C" {
152    pub fn Fl_Printer_set_property_save(msg: *const ::core::ffi::c_char);
153}
154extern "C" {
155    pub fn Fl_Printer_set_property_cancel(msg: *const ::core::ffi::c_char);
156}