Svg.paint.order.third: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 5620-5624 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=5620&end_line=5624 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def paint.order.third(+order: U32) -> U32: +first = U32.div(order, 2) +lo = U.choose(U32, U32.is_eq(first, 0), 1, 0) +hi = U.choose(U32, U32.is_eq(first, 2), 1, 2) U.choose(U32, U32.is_eq(U32.mod(order, 2), 0), hi, lo) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=choose