Gtk2::PrintContext(3) User Contributed Perl Documentation NAME Gtk2::PrintContext - wrapper for GtkPrintContext HIERARCHY Glib::Object +----Gtk2::PrintContext METHODS context = $context->get_cairo_context $context->set_cairo_context ($cr, $dpi_x, $dpi_y) o $cr (Cairo::Context) o $dpi_x (double) o $dpi_y (double) context = $context->create_pango_context layout = $context->create_pango_layout double = $context->get_dpi_x double = $context->get_dpi_y (top, bottom, left, right) = $context->get_hard_margins Returns an empty list if the hard margins could not be retrieved. Since: gtk+ 2.20 double = $context->get_height pagesetup = $context->get_page_setup fontmap = $context->get_pango_fontmap double = $context->get_width SEE ALSO Gtk2, Glib::Object COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.38.0 2023-07-25 Gtk2::PrintContext(3)