summaryrefslogtreecommitdiff
path: root/examples/live/grammar/src/parser.c
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 09:20:31 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commitdf24da602f3feb1ff60e15ab6c449467d8a297b4 (patch)
tree89ea0c6c2493204e8d48876326b74924e589c6d9 /examples/live/grammar/src/parser.c
parent303478956e0086467a9073d7f6fa67b51b6580ad (diff)
downloadsketchbook-df24da602f3feb1ff60e15ab6c449467d8a297b4.tar.gz
sketchbook-df24da602f3feb1ff60e15ab6c449467d8a297b4.zip
README: Text, a section of its own, around sk.text and f.paragraph
The manual's text paragraphs (Pango, SKETCHBOOK_FONT, the page's monospace at 8 px a character) become a section, Text, before Drawing shapes: f.text and the ten faces, measuring anywhere (sk.text.size and layout, in update and tests), the Paragraph's fields and the Layout, whole-pixel advances and a line box that never depend on the display, a sketch's own font and the one fallback, what is dropped (bidi, colour emoji, system fonts, CJK and Arabic), how natively it is drawn, what textScaled now does, what the web does and cannot equal, and three recipes: a centred label, a wrapped dialogue line typed out, a caret and per-token spans in source. The Build API names sb.text, which app.addTest links; test/text.zig's line says what it now draws. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'examples/live/grammar/src/parser.c')
0 files changed, 0 insertions, 0 deletions