PrintOperation.setUnit

void setUnit(gtk.types.Unit unit)

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

Parameters

unitthe unit to use