Commit graph

12 commits

Author SHA1 Message Date
jaseg
1180ebdc1f Remove cairo dependency
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-25 00:20:51 +02:00
jaseg
776e0bd206 Replace cairo curve flattener from Anitgrain Graphics
This also fixes an issue where non-closed curves were not dilated
properly.
2021-04-24 20:17:42 +02:00
jaseg
3288fb8345 Add -f/--flip-gerber-polarity option 2021-04-05 13:57:40 +02:00
jaseg
da9d7280d5 svg-flatten: add curve flattening tolerance command line param 2021-02-17 18:58:11 +01:00
jaseg
4a967682d4 Make inital test run on debian, ubuntu, arch, fedora 2021-02-07 12:47:49 +01:00
jaseg
79db262858 Make svg-flatten always clean up its temporary files 2021-02-06 19:24:45 +01:00
jaseg
18d857668e Small fixes, find svg-flatten in user pip install 2021-02-06 12:30:27 +01:00
jaseg
6aab099baa svg-flatten: Be even smarter locating usvg 2021-02-04 22:56:53 +01:00
jaseg
bd2b012740 svg-flatten: Be a bit smarter locating usvg 2021-02-04 22:53:49 +01:00
jaseg
fc495607dc Update README 2021-02-01 12:46:50 +01:00
jaseg
a68e395cb6 Advanced svg/gerber composition working 2021-01-31 22:11:34 +01:00
jaseg
2133867c8a Reorg: move svg-flatten files into subdir 2021-01-30 20:01:00 +01:00
Renamed from src/main.cpp (Browse further)