set_unit


Description:

public void set_unit (Unit unit)

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

Parameters:

this

a PrintOperation

unit

the unit to use