aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_pattern.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-06-20svg-flatten: add export of patterns via aperture macrosjaseg1-2/+18
2022-06-20svg-flatten: Add 'complete pattern tiles only' switchjaseg1-0/+23
This is not part of the SVG spec, but it is useful for generating proto boards using SVG patterns.
2022-06-19svg-flatten: remove debug printsjaseg1-4/+0
2022-06-19svg-flatten: fix patterns with offset clip pathjaseg1-2/+5
2021-08-18Collect various rendering params into new RenderContext objectjaseg1-9/+9
2021-04-25Fix pattern rendering and some xform bugsjaseg1-8/+15
2021-04-25Remove cairo dependencywip-nocairojaseg1-26/+22
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-01-30Reorg: move svg-flatten files into subdirjaseg1-0/+113