code wiki / _hdl_build / nx_aa_raster_test.nx

nx_aa_raster_test.nx

buildroot/runtime/_hdl_build/nx_aa_raster_test.nx

2117 B44 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic aa
docsdependenciesstructsconstsfunctions

about

nx_aa_raster_test.nx -- R1 proof for the sovereign AA rasterizer. Renders an 'O' (outer+inner 12-gon = a ring, holes-via-even-odd) and a filled triangle into a coverage buffer, alpha-blits them BLACK onto a white RGB image, writes a PNG. Smooth curved + diagonal edges == the AA core works (the path to real fonts).

dependencies 2 imports · 0 importers

nx_aa_raster.nx nx_png_write.nx nx_aa_raster_test.nx

imports: nx_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

main aa_render aa_inside aa_blit nx_png_write_rgb sys_openat_wr sys_mmap sys_write pw_chunk pw_u32be sys_mmap ↻ sys_write ↻ sys_write ↻ pw_crc_block pw_adler32 sys_close

structs

none

consts

none

functions

7func main() -> i64