deq-shapes
Rust renderer for Deq shapes: traditional Kurdish tattoo (deq) motifs drawn on a 24 × 24 grid. Its SVG and PDF output is byte for byte the output of @0xdolan/deq-core, checked against the shared golden fixtures (ADR 0008, ADR 0011).
[]
= "1.0.0"
use json;
render,compose,render_flag,get_shape,list_shapes,list_categoriesandhas_shapemirror core; options are JSON objects with core's option names.export::export_shapeswritessvg,svg-layered,svg-sprite,pdf,png,jpg,webpandico(WebP is lossless).validate::validate_specchecks a shape spec and renders every parameter variant.- Errors are
DeqErrorwith core's codes (UNKNOWN_SHAPE,INVALID_OPTIONS, …) and messages. Nounsafe, no panics.
The deq binary is in the deq-cli crate.
License: GPL-3.0-or-later.