setDefaultDpiXY

fnvoid setDefaultDpiXY(double dpiX, double dpiY)

Do not use this function. Create an [rsvg.handle.Handle] and call [rsvg.handle.Handle.setDpiXY] on it instead.

Parameters

dpiXDots Per Inch (aka Pixels Per Inch)
dpiYDots Per Inch (aka Pixels Per Inch)

Deprecated

This function used to set a global default DPI. However,

it only worked if it was called before any [rsvg.handle.Handle] objects had been created; it would not work after that. To avoid global mutable state, please use [rsvg.handle.Handle.setDpi] instead.