set_dpi


Description:

[ Version ( since = "2.8" ) ]
public void set_dpi (double dpi)

Sets the DPI at which the this will be rendered.

Common values are 75, 90, and 300 DPI.

Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be, but since [id@rsvg_set_default_dpi ] is deprecated, please do not pass values <= 0 to this function.

Parameters:

this

An [class@Rsvg.Handle]

dpi

Dots Per Inch (i.e. as Pixels Per Inch)