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

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

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

FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)

Returns

number