MCPcopy
hub / github.com/bbycroft/llm-viz / lineHeight

Function lineHeight

src/llm/components/TextLayout.ts:65–67  ·  view source on GitHub ↗
(fontOpts: IFontOpts)

Source from the content-addressed store, hash-verified

63}
64
65export function lineHeight(fontOpts: IFontOpts) {
66 return fontOpts.size * 1.2;
67}
68
69export function mkTextBlock(args: ITextBlockArgs): ITextBlock {
70 let type = args.type ?? (

Callers 2

renderInputAtTopFunction · 0.90
sizeBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected