set_default_dpi


Description:


[ Version ( deprecated = true , deprecated_since = "2.42.3" , since = "2.8" ) ]
public void set_default_dpi (double dpi)

Warning: set_default_dpi is deprecated since 2.42.3.

Do not use this function.

Note:

This function used to set a global default DPI. However, it only worked if it was called before any [class@Rsvg.Handle] objects had been created; it would not work after that. To avoid global mutable state, please use [method@Rsvg.Handle.set_dpi] instead.

Create an [class@Rsvg.Handle] and call [method@Rsvg.Handle.set_dpi] on it instead.

Parameters:

dpi

Dots Per Inch (aka Pixels Per Inch)


Namespace: Rsvg
Package: librsvg-2.0