gtkPrintContextSetCairoContext: gtkPrintContextSetCairoContext

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Sets a new cairo context on a print context.

Usage

1
gtkPrintContextSetCairoContext(object, cr, dpi.x, dpi.y)

Arguments

object

a GtkPrintContext

cr

the cairo context

dpi.x

the horizontal resolution to use with cr

dpi.y

the vertical resolution to use with cr

Details

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.