aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src
AgeCommit message (Collapse)AuthorFilesLines
2022-06-20svg-flatten: add export of patterns via aperture macrosjaseg8-7/+108
2022-06-20svg-flatten: Add 'complete pattern tiles only' switchjaseg2-0/+28
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 printsjaseg2-13/+0
2022-06-19svg-flatten: fix patterns with offset clip pathjaseg2-2/+13
2022-06-19svg-flatten: Fix drills in patternsjaseg1-1/+11
2022-06-19svg-flatten: Fix drill exportjaseg3-31/+36
2022-06-18svg-flatten: add drill handling to outline modejaseg10-3/+106
2022-06-11tests: remove use of deprecated Pillow APIjaseg1-2/+2
2022-06-10svg-flatten: Make view box log output more readablejaseg1-1/+1
2022-06-10Fix dilation script processingjaseg1-4/+4
2021-09-30svg-flatten: Add forwarding logic for usvg font optionsv2.2.4jaseg4-28/+73
2021-09-29Auto-discover usvg and svg-flatten properlyv2.2.2jaseg1-7/+7
2021-09-29svg-flatten/tests: Only print output on errorjaseg1-2/+1
2021-09-29svg-flatten: Remove unnecessary debug printsjaseg1-7/+7
2021-09-29svg-flatten: Remove leftover debug print in svg_color.cjaseg1-1/+1
2021-09-29Add rgba color support for newer resvg/usvgwasi-wipjaseg4-29/+66
2021-09-29CI/svg-flatten: add wasm buildsjaseg4-5/+19
2021-09-29svg-flatten: Add wasmtime supportjaseg3-13/+54
2021-08-18svg-flatten: Add multi-exclude/include testsjaseg1-7/+13
2021-08-18svg-flatten: Fix include/exclude logicjaseg3-24/+100
2021-08-18Collect various rendering params into new RenderContext objectjaseg9-160/+179
2021-08-17svg-flatten: zeroize polygon_sink pointer after usejaseg1-0/+1
2021-08-17svg-flatten: Fix doc on --scalejaseg1-1/+1
2021-08-17svg-flatten: Fix case where document unit is not mmjaseg2-6/+71
2021-06-05Make svg-flatten auto-search for cargo dependencies in all call sitesjaseg5-87/+126
2021-06-05Throw out a bunch of test stuff, hopefully fix CI buildjaseg1-2/+2
2021-06-05Fix binary contours vectorizerjaseg5-13/+91
Replace teh-chin with ramer-douglas-peucker
2021-06-04Enable (shitty) contour simplificationjaseg1-2/+2
I think my implementation of this algorithm is broken. It does something, but the output looks bad.
2021-06-04Update comment on join discrepanciesjaseg1-1/+1
2021-06-04Add & fix vectorizer testsjaseg7-36/+98
2021-06-04Add larger contour tracing test imagejaseg1-16/+22
2021-06-04Fix handling of dashes and joins, all tests run through nowjaseg4-27/+72
2021-06-04Add support for stroke-dashoffsetjaseg1-2/+3
2021-06-03Add svg-flatten SVG feature testsjaseg2-1/+76
2021-06-02Port svg-flatten to nopencvjaseg5-123/+171
2021-06-02Fix small logical error in testsjaseg1-1/+1
2021-06-02Fix testsjaseg2-20/+25
2021-06-02Add polygon area function & tests. These tests catch a single-px bug.jaseg3-0/+83
2021-06-02Prettify test casesjaseg3-56/+95
2021-06-02Finish chain approximation testsjaseg2-102/+186
2021-06-02Chain approximation approximately workingjaseg3-13/+34
2021-06-01Work on chain approxjaseg3-26/+251
2021-05-30Contour finding tests run throughjaseg3-21/+72
2021-05-30Add beginnings of minimalist contour tracing codejaseg3-0/+453
2021-04-25Fix pattern rendering and some xform bugsjaseg3-12/+20
2021-04-25svg-flatten: Add support for patterned strokes on outline layersjaseg1-35/+33
2021-04-25svg-flatten: Add support for line thickness to board outline exporterjaseg2-5/+24
2021-04-25svg-flatten: Add outline/edge layer modejaseg3-55/+100
2021-04-25Remove cairo dependencywip-nocairojaseg13-342/+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.
2021-04-24Replace cairo curve flattener from Anitgrain Graphicsjaseg5-35/+268
This also fixes an issue where non-closed curves were not dilated properly.