def pick.slot.other

gralha-svg-render@0.1.0.1 · svg.bend:1121

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

1121def pick.slot.other(+k: String, +c: U32) -> U32:
1122  U.choose(U32, U32.is_eq(c, 99) && U.string.equal(k, "color"), 3,
1123    U.choose(U32, U32.is_eq(c, 118) && U.string.equal(k, "visibility"), 8, U.choose(U32, U32.is_eq(c, 118) && U.string.equal(k, "vector-effect"), 16,
1124      U.choose(U32, U32.is_eq(c, 105) && U.string.equal(k, "image-rendering"), 9, U.choose(U32, U32.is_eq(c, 112) && U.string.equal(k, "paint-order"), 10, 0)))))

Uses (6)

Used by (1)