Home
last modified time | relevance | path

Searched refs:page_setup (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dprinting_gtk2_util.cc27 GtkPageSetup* page_setup = gtk_page_setup_new(); in GetPdfPaperSizeDeviceUnitsGtk() local
30 gtk_page_setup_get_paper_width(page_setup, GTK_UNIT_INCH), in GetPdfPaperSizeDeviceUnitsGtk()
31 gtk_page_setup_get_paper_height(page_setup, GTK_UNIT_INCH)); in GetPdfPaperSizeDeviceUnitsGtk()
33 g_object_unref(page_setup); in GetPdfPaperSizeDeviceUnitsGtk()
43 GtkPageSetup* page_setup, in InitPrintSettingsGtk() argument
46 DCHECK(page_setup); in InitPrintSettingsGtk()
59 gtk_page_setup_get_paper_width(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk()
60 gtk_page_setup_get_paper_height(page_setup, GTK_UNIT_INCH) * dpi); in InitPrintSettingsGtk()
62 gtk_page_setup_get_left_margin(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk()
63 gtk_page_setup_get_top_margin(page_setup, GTK_UNIT_INCH) * dpi, in InitPrintSettingsGtk()
[all …]
Dprinting_gtk2_util.h24 GtkPageSetup* page_setup,
/external/chromium_org/printing/
Dprinted_document_win.cc48 const PageSetup& page_setup(immutable_.settings_.page_setup_device_units()); in RenderPrintedPage() local
50 page.GetCenteredPageContentRect(page_setup.physical_size(), &content_area); in RenderPrintedPage()
68 content_area.x() - page_setup.printable_area().x(), in RenderPrintedPage()
69 content_area.y() - page_setup.printable_area().y(), in RenderPrintedPage()
Dprint_settings_conversion.cc240 const PageSetup& page_setup = settings.page_setup_device_units(); in PrintSettingsToJobSettingsDebug() local
242 "effective_margins", page_setup.effective_margins(), debug); in PrintSettingsToJobSettingsDebug()
243 SetSizeToJobSettings("physical_size", page_setup.physical_size(), debug); in PrintSettingsToJobSettingsDebug()
244 SetRectToJobSettings("overlay_area", page_setup.overlay_area(), debug); in PrintSettingsToJobSettingsDebug()
245 SetRectToJobSettings("content_area", page_setup.content_area(), debug); in PrintSettingsToJobSettingsDebug()
246 SetRectToJobSettings("printable_area", page_setup.printable_area(), debug); in PrintSettingsToJobSettingsDebug()
Dprinted_document_mac.cc28 const PageSetup& page_setup(immutable_.settings_.page_setup_device_units()); in RenderPrintedPage() local
30 page.GetCenteredPageContentRect(page_setup.physical_size(), &content_area); in RenderPrintedPage()
DBUILD.gn40 "page_setup.cc",
41 "page_setup.h",
Dprinting.gyp54 'page_setup.cc',
55 'page_setup.h',
Dprinting.target.linux-arm64.mk40 printing/page_setup.cc \
Dprinting.target.darwin-arm64.mk40 printing/page_setup.cc \
Dprinting.target.linux-arm.mk40 printing/page_setup.cc \
Dprinting.target.linux-x86_64.mk40 printing/page_setup.cc \
Dprinting.target.darwin-arm.mk40 printing/page_setup.cc \
Dprinting.target.linux-mips.mk40 printing/page_setup.cc \
Dprinting.target.linux-x86.mk40 printing/page_setup.cc \
Dprinting.target.darwin-x86_64.mk40 printing/page_setup.cc \
Dprinting.target.darwin-x86.mk40 printing/page_setup.cc \
Dprinting.target.darwin-mips.mk40 printing/page_setup.cc \
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_print_settings_manager.cc57 const printing::PageSetup& page_setup = in ComputeDefaultPrintSettings() local
65 settings.printable_area = PrintAreaToPPPrintArea(page_setup.printable_area(), in ComputeDefaultPrintSettings()
68 PrintAreaToPPPrintArea(page_setup.content_area(), device_units_per_inch); in ComputeDefaultPrintSettings()
70 PrintSizeToPPPrintSize(page_setup.physical_size(), device_units_per_inch); in ComputeDefaultPrintSettings()
/external/fio/
Dprinting.c12 GtkPageSetup *page_setup; member
18 print_params.page_setup = gtk_print_context_get_page_setup(context); in begin_print()
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()