code wiki / _hdl_build / nx_render_wiki_bmp.nx
nx_render_wiki_bmp.nx
buildroot/runtime/_hdl_build/nx_render_wiki_bmp.nx
about
nx_render_wiki_bmp.nx -- render a REAL fetched Wikipedia page to a viewable BMP image, end-to-end
through the sovereign browser pipeline: read knowledge/fetched/wiki_web_dev.html -> nx_layout_from_dom
-> nx_layout_block (geometry) -> nx_paint_walk_layout (pixels) -> 24-bit BMP (openable on Windows).
Composes the gated layout/paint organs + the nx_bmp format; no gcc/V8/Chrome.
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_css_tokenize.nxnx_css_apply.nxnx_css_color_decode.nxnx_layout_box.nxnx_layout_from_dom.nxnx_layout_block.nxnx_paint_solid_rect.nxnx_paint_text.nxnx_font_bitmap_5x7.nxnx_paint_walk_layout.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
| 16 | const K_MAGIC_16384: i64 = 16384 |
| 17 | const K_MAGIC_2400: i64 = 2400 |
functions
| 19 | func wb_u32(fd: i64, v: i64) -> i64 |
| 24 | func wb_u16(fd: i64, v: i64) -> i64 |
| 30 | func wb_save(path: *u8, fb: *Framebuffer, w: i64, h: i64) -> i64 |
| 66 | func main() -> i64 |