Tryst::Vector
CPU vector rasterization (ThorVG) for tryst. A separate shard so that
tryst itself never grows a ThorVG dependency: nothing here is
reachable from a plain require "tryst". See this shard's own
README for why ThorVG.
Class methods
Brings up the ThorVG engine, raising rather than returning a result code - there is nothing a caller can do with a failed init except stop. threads: 0 lets ThorVG pick its own default.
Safe to call repeatedly: ThorVG reference-counts the engine the same way SDL reference-counts subsystems (see tvg_engine_term's own doc comment on that), so a redundant #init is not an error.
quit
Shuts down the engine - decrements ThorVG's own init reference count; only the final matching #quit actually tears it down.