DOKK / manpages / debian 10 / libgtk2-perl-doc / Gtk2::PrintContext.3pm.en
Gtk2::PrintContext(3pm) User Contributed Perl Documentation Gtk2::PrintContext(3pm)

Gtk2::PrintContext - wrapper for GtkPrintContext

  Glib::Object
  +----Gtk2::PrintContext

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.

2017-06-24 perl v5.24.1