nx_paint_box_borders_test.nx
buildroot/runtime/nx_paint_box_borders_test.nx
about
nx_paint_box_borders_test.nx -- smoke for the 4-side border
painter. Builds a box at (5, 5, 22, 22) with four borders of
distinct widths and colors:
top: 2px red (#ff0000)
right: 3px green (#00ff00)
bottom: 4px blue (#0000ff)
left: 1px white (#ffffff)
Paints into a 32x32 framebuffer, verifies pixels.
dependencies 8 imports · 0 importers
imports: nx_syscalls.nxnx_css_tokenize.nxnx_css_apply.nxnx_css_color_decode.nxnx_css_dimension_to_px.nxnx_layout_box.nxnx_paint_solid_rect.nxnx_paint_box_borders.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
| 19 | func _put_byte(buf: *u8, i: i64, v: i64) -> i64 called by 1: main |
| 24 | func main() -> i64 |