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.
this |
a `GtkPrintContext` |
cr |
the cairo context |
dpi_x |
the horizontal resolution to use with |
dpi_y |
the vertical resolution to use with |