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.
setDefaultDpiXY
fn
void 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
dpiX | Dots Per Inch (aka Pixels Per Inch) |
dpiY | Dots Per Inch (aka Pixels Per Inch) |
Deprecated
This function used to set a global default DPI. However,