Package: gtk

Function gtk-print-context-set-cairo-context

Lambda List

gtk-print-context-set-cairo-context (context cr dpi-x dpi-y)

Arguments

context -- a gtk-print-context object
cr -- the Cairo context
dpi-x -- the horizontal resolution to use with cr
dpi-y -- the vertical resolution to use with cr

Details

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.
 

See also

2020-4-9