gtkPrintContextSetCairoContext {RGtk2} | R Documentation |
Sets a new cairo context on a print context.
gtkPrintContextSetCairoContext(object, cr, dpi.x, dpi.y)
|
[GtkPrintContext ] a GtkPrintContext |
|
[Cairo ] the cairo context |
|
[numeric] the horizontal resolution to use with cr |
|
[numeric] the vertical resolution to use with cr |
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.
Since 2.10
Derived by RGtkGen from GTK+ documentation