void gtk_print_context_set_cairo_context ( GtkPrintContext* context, cairo_t* cr, double dpi_x, double dpi_y )
Sets a new cairo context on a print context.
This function is intended to be used when implementing an internal print preview, it is not needed for printing, since GTK+ itself creates a suitable cairo context in that case.
Available since: 2.10
The cairo context.
The data is owned by the caller of the method.
The horizontal resolution to use with
The vertical resolution to use with