set_default_dpi_x_y


Description:


[ Version ( deprecated = true , deprecated_since = "2.42.3" , since = "2.8" ) ]
public void set_default_dpi_x_y (double dpi_x, double dpi_y)

Warning: set_default_dpi_x_y 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_x_y] on it instead.

Parameters:

dpi_x

Dots Per Inch (aka Pixels Per Inch)

dpi_y

Dots Per Inch (aka Pixels Per Inch)


Namespace: Rsvg
Package: librsvg-2.0



2022 vala-language.org