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 [[email protected]] objects had been created; it would not work after that. To avoid global mutable state, please use [[email protected]_dpi] instead.

Create an [[email protected]] and call [[email protected]_dpi] on it instead.

Parameters:

dpi

Dots Per Inch (aka Pixels Per Inch)


Namespace: Rsvg
Package: librsvg-2.0



2022 vala-language.org