setUnit

open fun setUnit(unit: Unit)

Sets up the transformation for the cairo context obtained from GtkPrintContext in such a way that distances are measured in units of @unit.

Parameters

unit

the unit to use