aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten
AgeCommit message (Collapse)AuthorFilesLines
2021-08-18svg-flatten: Fix include/exclude logicjaseg5-29/+214
2021-08-18Collect various rendering params into new RenderContext objectjaseg10-173/+229
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 mmjaseg5-6/+133
2021-06-05Make svg-flatten auto-search for cargo dependencies in all call sitesjaseg6-88/+128
2021-06-05Hopefully fix debian CI buildjaseg1-3/+5
2021-06-05Fix build for stone-age debian compilerjaseg1-1/+1
2021-06-05Add -lstdc++ for debian buildsjaseg1-1/+1
2021-06-05Remove dependency check. We don't have system dependencies anymore.jaseg1-5/+0
2021-06-05Throw out a bunch of test stuff, hopefully fix CI buildjaseg2-7/+6
2021-06-05Fix binary contours vectorizerjaseg6-13/+5507
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-04Add vectorizer test casesjaseg6-0/+12458
2021-06-04Update comment on join discrepanciesjaseg1-1/+1
2021-06-04Add & fix vectorizer testsjaseg9-40/+103
2021-06-04Add larger contour tracing test imagejaseg2-16/+22
2021-06-04Fix handling of dashes and joins, all tests run through nowjaseg23-27/+91
2021-06-04Add additional test casesjaseg3-0/+91
2021-06-04Add missing gaussian blur implementationjaseg1-0/+210
2021-06-04Add support for stroke-dashoffsetjaseg1-2/+3
2021-06-04Fix transform mathjaseg1-6/+17
2021-06-03Add svg-flatten SVG feature testsjaseg22-10/+1548
2021-06-03svg-flatten: build against submodule pugixmljaseg1-5/+12
2021-06-02Port svg-flatten to nopencvjaseg6-130/+172
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 approxjaseg5-26/+254
2021-05-30Contour finding tests run throughjaseg4-22/+83
2021-05-30Add beginnings of minimalist contour tracing codejaseg18-0/+453
2021-05-24Fix phys2doc/doc2phys for image exportjaseg1-2/+2
2021-04-25Fix pattern rendering and some xform bugsjaseg4-15/+23
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 exporterjaseg3-5/+34
2021-04-25svg-flatten: Add outline/edge layer modejaseg4-56/+118
2021-04-25Remove cairo dependencywip-nocairojaseg17-363/+330
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 Graphicsjaseg7-35/+296
This also fixes an issue where non-closed curves were not dilated properly.
2021-04-05Add MacOS supportv2.0.7jaseg2-1/+6
2021-04-05Add -f/--flip-gerber-polarity optionjaseg3-7/+12
2021-02-17svg-flatten: add curve flattening tolerance command line paramjaseg5-13/+19
2021-02-17svg-flatten: Fix fill-rule handling for filled open pathsjaseg3-30/+47
2021-02-11Fix handling of stroke width under transformationsjaseg1-1/+6
2021-02-07Make inital test run on debian, ubuntu, arch, fedorajaseg2-8/+9
2021-02-06Make svg-flatten always clean up its temporary filesjaseg1-4/+2
2021-02-06svg-flatten: Fix invalid export of negative gerber coordinatesjaseg1-4/+4
2021-02-06Add workaround to clipper zero-height path bugjaseg2-6/+35