Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::PrintContext Class Reference

A PrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution. More...

#include <printcontext.hh>

Inheritance diagram for Xfc::Gtk::PrintContext:
Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable

List of all members.


Detailed Description

A PrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution.

It also lets you easily create PangoLayout and PangoContext objects that match the font metrics of the cairo surface.

PrintContext objects gets passed to the ::begin-print, ::end-print, ::request-page-setup and ::draw-page signals on the PrintOperation.


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC