The OpenD Programming Language

Widget.currentDpi

Returns the current scaling factor as a logical dpi value for this widget. Generally speaking, this divided by 96 gives you the user scaling factor.

Not entirely stable.

class Widget
final
int
currentDpi
(
int assumedDpi = 96
)

Meta

History

Added August 25, 2023 (dub v11.1)