zeno
zeno copied to clipboard
PathBuilder::current_point makes implementations hard
One of the functions that PathBuilder requires is a way to query the current point. This is however not possible to implement if PathBuilder was implemented for a library like lyon or femtovg. Some of the path functions however require relative positions to the current point.
Is this something zeno could adjust to or is it expected that libraries should provide the needed info.
https://docs.rs/zeno/latest/zeno/trait.PathBuilder.html
Can't you just save the most recent point as a field in your wrapper around the underlying library?