code wiki / _hdl_build / nx_brand_spacescale.nx
nx_brand_spacescale.nx
buildroot/runtime/_hdl_build/nx_brand_spacescale.nx
about
nx_brand_spacescale.nx -- generate a SPACING SCALE (the 4/8pt-grid rhythm) from a base unit: space|1..5 =
1x/2x/3x/5x/8x base (a balanced ramp, every step ON the grid). No-float; valid .brand fragment that feeds the
token SSOT and passes the R2 spacing-grid guard BY CONSTRUCTION. REUSE: nx_brand_tokens (bt_app). Library.
100% sovereign. license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_syscalls.nxnx_brand_tokens.nx
imported by: nx_brand_exceed3_gate.nxnx_brand_spacescale_gate.nx
structs
| none |
consts
| none |
functions
| 8 | func ss_put_int(out: *u8, pos: i64, cap: i64, v: i64) -> i64 |
| 16 | func ss_emit_one(out: *u8, pos: i64, cap: i64, name: *u8, px: i64) -> i64 |
| 26 | func ss_emit_scale(base_px: i64, out: *u8, cap: i64) -> i64 |