aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_path.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-04-16Fix clang build and warningsjaseg1-2/+0
2023-03-25WIPjaseg1-17/+4
2022-06-21svg-flatten: fix failing testsv3.0.9jaseg1-1/+5
2021-06-04Fix handling of dashes and joins, all tests run through nowjaseg1-12/+11
2021-04-25Remove cairo dependencywip-nocairojaseg1-31/+41
We initially used Cairo for its bezier flattening algorithm. That algorithm turned out to be a bit too imprecise at the scales we're working at here (#17), so I ended up porting over some code from Antigrain Graphics. The only other thing we used Cairo for was debug output and coordinate transforms, so I just wrote the relevant vector math in a small header file, deleted all debug output code and thus eliminated the cairo dependency. This is a step towards Windows builds.
2021-04-24Replace cairo curve flattener from Anitgrain Graphicsjaseg1-32/+34
This also fixes an issue where non-closed curves were not dilated properly.
2021-02-17svg-flatten: add curve flattening tolerance command line paramjaseg1-2/+2
2021-02-17svg-flatten: Fix fill-rule handling for filled open pathsjaseg1-16/+31
2021-02-06Add workaround to clipper zero-height path bugjaseg1-5/+34
2021-01-30Reorg: move svg-flatten files into subdirjaseg1-0/+213