def marker.orient
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
3039def marker.orient(+s: String, angle: F32, start: Bool) -> F32:
3040 +auto = U.string.equal(s, "auto") || U.string.equal(s, "auto-start-reverse")
3041 U.choose(F32, auto, (angle + U.choose(F32, start && U.string.equal(s, "auto-start-reverse"), 180.0, 0.0) : F32), marker.angle.number(U.number(s)))