Gtk2::PrintContext(3) | User Contributed Perl Documentation | Gtk2::PrintContext(3) |
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)
- $cr (Cairo::Context)
- $dpi_x (double)
- $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.
2024-09-01 | perl v5.40.0 |