ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
296 stars 19 forks source link

Expand line segments for compatibility with svg2mod #560

Closed ohmtech-rdi closed 1 year ago

ohmtech-rdi commented 1 year ago

This PR expands strokes to be compatible with svg2mod, which doesn't expand strokes.

This is done only for the line keyword, and we just consider a list of rectangles for each line segments. In particular, joining lines is not done.