code wiki / _hdl_build / nx_viz_axis.nx

nx_viz_axis.nx

buildroot/runtime/_hdl_build/nx_viz_axis.nx

3993 B64 linesdepth 4pulls 5 transitivereach 5 importersview sourcekind tooltopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_axis.nx -- the AXIS layer of the sovereign Nishi viz library (the d3-axis equivalent, bits-up). Composes scales (vs_ticks for tick values + vs_linear for value->pixel) + shapes' serializer (vsh_n/vsh_lit) to emit a full SVG axis: baseline + tick marks + numeric labels. va_ticks is the KAT-able numeric core (tick values + their pixel positions); va_axis_bottom is the render. Closes axis-ticks. license_tier: ORIGINAL

dependencies 3 imports · 3 importers

nx_viz_scale.nx nx_viz_shape.nx nx_syscalls.nx nx_viz_axis.nx nx_chart.nx nx_viz_axis_gate.nx nx_viz_chart.nx

imports: nx_viz_scale.nxnx_viz_shape.nxnx_syscalls.nx

imported by: nx_chart.nxnx_viz_axis_gate.nxnx_viz_chart.nx

structs

none

consts

none

functions

10func va_ticks(d0: i64, d1: i64, target: i64, px0: i64, px1: i64, vals_out: *i64, px_out: *i64) -> i64
20func va_axis_bottom(d0: i64, d1: i64, px0: i64, px1: i64, target: i64, axis_y: i64, out: *u8) -> i64
called by 1: main calls 4: sys_mmapva_ticksvsh_litvsh_n
42func va_axis_left(d0: i64, d1: i64, py0: i64, py1: i64, target: i64, axis_x: i64, out: *u8) -> i64
64func main() -> i64 { return 0 }