Lines Matching refs:print_params
13 } print_params = { 0 }; variable
18 print_params.page_setup = gtk_print_context_get_page_setup(context); in begin_print()
20 print_params.width = gtk_print_context_get_width(context); in begin_print()
21 print_params.height = gtk_print_context_get_height(context); in begin_print()
22 print_params.xdpi = gtk_print_context_get_dpi_x(context); in begin_print()
23 print_params.ydpi = gtk_print_context_get_dpi_y(context); in begin_print()
42 cairo_line_to(cr, print_params.width, print_params.height); in results_draw_page()
43 cairo_move_to(cr, 0.0, print_params.height); in results_draw_page()
44 cairo_line_to(cr, print_params.width, 0.0); in results_draw_page()
47 x = print_params.width / 4.0; in results_draw_page()
48 y = print_params.height / 5.0; in results_draw_page()
107 if (print_params.settings != NULL) in gfio_print_results()
108 gtk_print_operation_set_print_settings(print, print_params.settings); in gfio_print_results()
110 if (print_params.page_setup != NULL) in gfio_print_results()
111 gtk_print_operation_set_default_page_setup(print, print_params.page_setup); in gfio_print_results()
133 if (print_params.settings != NULL) in gfio_print_results()
134 g_object_unref(print_params.settings); in gfio_print_results()
135 print_params.settings = g_object_ref(gtk_print_operation_get_print_settings(print)); in gfio_print_results()