Currently PathSpline decomposes higher-order commands (such as arcTo) into other commands before storing in the data structure.
To support marker-mid, we need to find vertices based on the original commands (like the start and end of an arc), without adding markers on segments of the decomposed curves.
Update PathSpline to either delay decomposing, or to store a lookup table from the original arc/etc commands into the list of curveTo commands.
Currently PathSpline decomposes higher-order commands (such as arcTo) into other commands before storing in the data structure.
To support
marker-mid
, we need to find vertices based on the original commands (like the start and end of an arc), without adding markers on segments of the decomposed curves.Update PathSpline to either delay decomposing, or to store a lookup table from the original arc/etc commands into the list of curveTo commands.