Handle.setDpiXY

Sets the DPI for the outgoing pixbuf. Common values are 75, 90, and 300 DPI. Passing a number <= 0 to #dpi_x or @dpi_y will reset the DPI to whatever the default value happens to be.

class Handle
void
setDpiXY
(
double dpiX
,
double dpiY
)

Parameters

dpiX double

Dots Per Inch (aka Pixels Per Inch)

dpiY double

Dots Per Inch (aka Pixels Per Inch)

Meta