code wiki / (root) / nx_x11_pixmap_kat_test.nx

nx_x11_pixmap_kat_test.nx

buildroot/runtime/nx_x11_pixmap_kat_test.nx

2876 B81 linesdepth 7pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic x11
docsdependenciesstructsconstsfunctions

about

nx_x11_pixmap_kat_test.nx -- minimal pixmap paint+capture KAT. CreatePixmap 100x60. CreateGC with foreground = 0x00FF0000 (red in RGB / X-byte-G-byte-R-byte on a typical 24-bit visual). PolyFillRectangle covering entire pixmap. GetImage 100x60. Verify first pixel bytes are red-ish (any non-zero R channel). expect_exit: 0. license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_x11_connect.nx nx_x11_window.nx nx_x11_paint.nx nx_x11_pixmap.nx nx_x11_get_image.nx nx_x11_pixmap_kat_test.nx

imports: nx_syscalls.nxnx_x11_connect.nxnx_x11_window.nxnx_x11_paint.nxnx_x11_pixmap.nxnx_x11_get_image.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

20func dump_dec(l0: i64, l1: i64, v: i64) -> i64
37func main() -> i64