code wiki / _hdl_build / nx_glyph_word.nx
nx_glyph_word.nx
buildroot/runtime/_hdl_build/nx_glyph_word.nx
about
nx_glyph_word.nx -- RUNG 1 proof: render "nishi" (lowercase, the brand) with the STROKE PEN. Each letter is
just centerline polylines + a width -> the n/h arches and the s-spine (the HARD curvy bits) are trivial.
Renders AA -> _offc/nx_aa_nishi.png. This is the builder unit that scales to kanji (kanji strokes are the same).
dependencies 3 imports · 0 importers
imports: nx_glyph_stroke.nxnx_aa_raster.nxnx_png_write.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 7 | const K_MAGIC_8192: i64 = 8192 |
| 8 | const K_MAGIC_1024: i64 = 1024 |
functions
| 11 | func put_stroke(xs: *i64, ys: *i64, cstart: *i64, clen: *i64, np: *i64, nc: *i64, cs: *i64, sn: *i64, ptsx: *i64, ptsy: *i64, n: i64, w: i64) -> i64 |
| 16 | func main() -> i64 |