code wiki / _hdl_build / nx_imgpage.nx
nx_imgpage.nx
buildroot/runtime/_hdl_build/nx_imgpage.nx
about
nx_imgpage.nx -- prove AUTO <img> in a rendered page: br_layout harvests <img src> per box; this
consumer decodes each src (local file here; the GUI will fetch via -B) into page.bimg; br_draw_fb's
additive image pass blits them at the laid-out box positions. End-to-end auto-image, headless.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_browser_render.nxnx_img_to_rgb.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
| none |
functions
| 9 | func ip(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(2, s, n); return 0 } |
| 10 | func ipn(v: i64) -> i64 |
| 20 | func main() -> i64 |