Gtk2::PrintContext(3) User Contributed Perl Documentation Gtk2::PrintContext(3)

Gtk2::PrintContext - wrapper for GtkPrintContext


context = $context->get_cairo_context

  • $cr (Cairo::Context)
  • $dpi_x (double)
  • $dpi_y (double)

context = $context->create_pango_context

double = $context->get_dpi_x

double = $context->get_dpi_y

Returns an empty list if the hard margins could not be retrieved.

Since: gtk+ 2.20

double = $context->get_height

double = $context->get_width

Gtk2, Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0