code wiki / (root) / nx_paint_text_test.nx

nx_paint_text_test.nx

buildroot/runtime/nx_paint_text_test.nx

4869 B130 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic paint
docsdependenciesstructsconstsfunctions

about

nx_paint_text_test.nx -- smoke for the 5x7 text rasterizer. Paints "42" into a 32x16 framebuffer and verifies per-pixel rendering against the known glyph bit patterns.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_css_color_decode.nx nx_paint_solid_rect.nx nx_font_bitmap_5x7.nx nx_paint_text.nx nx_paint_text_test.nx

imports: nx_syscalls.nxnx_css_color_decode.nxnx_paint_solid_rect.nxnx_font_bitmap_5x7.nxnx_paint_text.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nx_framebuffer_init nx_framebuffer_clear _put_byte nx_paint_text _paint_text_glyph nx_font_5x7_glyph_row _paint_text_pixel nx_framebuffer_get_pixel nx_paint_text_measure

structs

none

consts

none

functions

11func _put_byte(buf: *u8, i: i64, v: i64) -> i64
called by 1: main
16func main() -> i64