aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_doc.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-07-05Improve svg-flatten document scale error messagesjaseg1-0/+1
2024-06-26svg-flatten: Fix handling of missing viewBoxjaseg1-3/+27
This makes svg-flatten compatible with usvg v0.42.0, which changed its viewbox/width/height output. Closes #47
2023-04-16svg-flatten: Bump WASI SDK to v20 and fix buildjaseg1-0/+1
2023-03-31Fix remaining commands for layer reworkjaseg1-10/+10
2023-03-30Fix scale of drill mapping testjaseg1-3/+5
2023-03-30svg-flatten: Make drill size mapping more precise, add testsjaseg1-2/+4
2023-03-29svg-flatten: Fix incorrect polarity for outlined strokesjaseg1-2/+2
2023-03-29svg_doc: Fix gerber mapping of strokes with skewed or non-uniform transformsjaseg1-12/+27
2023-03-25WIPjaseg1-14/+38
2023-03-22svg-flatten: Add input scalingjaseg1-5/+14
2022-06-24svg-flatten: Fix pattern aperture macro exportjaseg1-1/+1
2022-06-21svg-flatten: fix failing testsv3.0.9jaseg1-5/+11
2022-06-20svg-flatten: remove debug printsjaseg1-8/+8
2022-06-20svg-flatten: Finish direct interpolation optimizationjaseg1-89/+107
2022-06-20svg-flatten: outline mode WIPjaseg1-7/+24
2022-06-20Fix outline mode clip & flash handlingjaseg1-36/+55
2022-06-20svg-flatten: add export of patterns via aperture macrosjaseg1-0/+11
2022-06-19svg-flatten: remove debug printsjaseg1-9/+0
2022-06-19svg-flatten: fix patterns with offset clip pathjaseg1-0/+8
2022-06-19svg-flatten: Fix drills in patternsjaseg1-1/+11
2022-06-19svg-flatten: Fix drill exportjaseg1-29/+27
2022-06-18svg-flatten: add drill handling to outline modejaseg1-3/+28
2022-06-10svg-flatten: Make view box log output more readablejaseg1-1/+1
2021-09-29Add rgba color support for newer resvg/usvgwasi-wipjaseg1-3/+3
2021-09-29CI/svg-flatten: add wasm buildsjaseg1-0/+1
2021-08-18svg-flatten: Fix include/exclude logicjaseg1-13/+31
2021-08-18Collect various rendering params into new RenderContext objectjaseg1-98/+94
2021-08-17svg-flatten: zeroize polygon_sink pointer after usejaseg1-0/+1
2021-08-17svg-flatten: Fix case where document unit is not mmjaseg1-6/+10
2021-06-04Add & fix vectorizer testsjaseg1-2/+2
2021-06-04Fix handling of dashes and joins, all tests run through nowjaseg1-10/+9
2021-06-04Add support for stroke-dashoffsetjaseg1-2/+3
2021-04-25Fix pattern rendering and some xform bugsjaseg1-3/+4
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 exporterjaseg1-4/+7
2021-04-25svg-flatten: Add outline/edge layer modejaseg1-45/+70
2021-04-25Remove cairo dependencywip-nocairojaseg1-93/+24
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-02-17svg-flatten: add curve flattening tolerance command line paramjaseg1-5/+8
2021-02-17svg-flatten: Fix fill-rule handling for filled open pathsjaseg1-13/+15
2021-02-11Fix handling of stroke width under transformationsjaseg1-1/+6
2021-02-06Work on fedora/debian compatibilityjaseg1-3/+3
2021-01-30Reorg: move svg-flatten files into subdirjaseg1-0/+539