alpha
Login
or
Join now
bomb.sh
/
tty
Star
5
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay
Star
5
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tty
/
specs
/
at
feat/render-info
2 files
Charles Lowell
✨ add element dimensions to RenderResult via info map
3mo ago
ae2023dc
input-spec.md
✨ add element dimensions to RenderResult via info map Adds a `info: Map<string, RenderInfo>` field to RenderResult that provides post-layout bounding boxes for every named element. Each RenderInfo contains dimensions (x, y, width, height) zero-indexed from the layout root. On the C side, element names and Clay_ElementIds are recorded during layout, then resolved via Clay_GetElementData() after Clay_EndLayout() to extract computed bounding boxes. New WASM exports expose the results to TypeScript.
3 months ago
renderer-spec.md
✨ add element dimensions to RenderResult via info map Adds a `info: Map<string, RenderInfo>` field to RenderResult that provides post-layout bounding boxes for every named element. Each RenderInfo contains dimensions (x, y, width, height) zero-indexed from the layout root. On the C side, element names and Clay_ElementIds are recorded during layout, then resolved via Clay_GetElementData() after Clay_EndLayout() to extract computed bounding boxes. New WASM exports expose the results to TypeScript.
3 months ago