Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dwm/ext/imgui.ts>imgui.getWindowDpiScale

Deno Window Manager: Cross-platform window creation and management
Latest
function imgui.getWindowDpiScale
import { imgui } from "https://deno.land/x/dwm@0.3.6/ext/imgui.ts";
const { getWindowDpiScale } = imgui;

get DPI scale currently associated to the current window's viewport.

Returns

number