aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include/geom2d.hpp
AgeCommit message (Collapse)AuthorFilesLines
2022-06-20svg-flatten: Add 'complete pattern tiles only' switchjaseg1-8/+19
This is not part of the SVG spec, but it is useful for generating proto boards using SVG patterns.
2021-09-29svg-flatten: Remove extraneous debug printjaseg1-1/+1
2021-06-04Add & fix vectorizer testsjaseg1-4/+4
2021-06-04Fix transform mathjaseg1-6/+17
2021-06-01Work on chain approxjaseg1-0/+3
2021-05-24Fix phys2doc/doc2phys for image exportjaseg1-2/+2
2021-04-25Fix pattern rendering and some xform bugsjaseg1-3/+3
2021-04-25Remove cairo dependencywip-nocairojaseg1-0/+157
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.