Commit graph

232 commits

Author SHA1 Message Date
jaseg
c58b6573f2 Butcher upstream subprojects to remove C++ exceptions for WASI support 2021-09-29 16:37:59 +02:00
jaseg
956538a32c svg-flatten: Add multi-exclude/include tests 2021-08-18 21:39:54 +02:00
jaseg
fae8532b05 svg-flatten: Fix include/exclude logic 2021-08-18 21:28:58 +02:00
jaseg
aaade1b168 Collect various rendering params into new RenderContext object 2021-08-18 17:29:57 +02:00
jaseg
aad0ae0215 svg-flatten: zeroize polygon_sink pointer after use 2021-08-17 23:05:59 +02:00
jaseg
a084be8849 svg-flatten: Fix doc on --scale 2021-08-17 23:02:55 +02:00
jaseg
236c4a4485 svg-flatten: Fix case where document unit is not mm 2021-08-17 22:55:47 +02:00
jaseg
4ffb4c6582 Make svg-flatten auto-search for cargo dependencies in all call sites 2021-06-05 23:33:44 +02:00
jaseg
f2f0ac2416 CI: Run tests 2021-06-05 22:53:56 +02:00
jaseg
b2873329d4 Hopefully fix debian CI build 2021-06-05 22:39:02 +02:00
jaseg
831993cdc3 Fix build for stone-age debian compiler 2021-06-05 22:14:48 +02:00
jaseg
6a69f8c1d3 Add -lstdc++ for debian builds 2021-06-05 22:00:53 +02:00
jaseg
1b02cdd2e7 Add missing pugixml submodule 2021-06-05 21:53:50 +02:00
jaseg
b7cdcd396b Fix compiler issue on debian CI build 2021-06-05 21:51:40 +02:00
jaseg
094aca80b8 Remove dependency check. We don't have system dependencies anymore. 2021-06-05 21:46:26 +02:00
jaseg
cc882a4195 Throw out a bunch of test stuff, hopefully fix CI build 2021-06-05 21:43:20 +02:00
jaseg
6685b7587a Fix binary contours vectorizer
Replace teh-chin with ramer-douglas-peucker
2021-06-05 21:22:01 +02:00
jaseg
3ef3f0223e Enable (shitty) contour simplification
I think my implementation of this algorithm is broken. It does
something, but the output looks bad.
2021-06-04 23:35:26 +02:00
jaseg
a26c04873e Add vectorizer test cases 2021-06-04 23:31:00 +02:00
jaseg
2e38e66f14 Update comment on join discrepancies 2021-06-04 23:29:38 +02:00
jaseg
61887e9ee1 Add & fix vectorizer tests 2021-06-04 23:28:36 +02:00
jaseg
6193fa151e Add larger contour tracing test image 2021-06-04 21:43:14 +02:00
jaseg
018748aa23 Fix handling of dashes and joins, all tests run through now 2021-06-04 16:39:05 +02:00
jaseg
6dd7bbc38c Add additional test cases 2021-06-04 16:38:50 +02:00
jaseg
2d03b014f9 Add missing gaussian blur implementation 2021-06-04 16:38:32 +02:00
jaseg
9230d678af Add support for stroke-dashoffset 2021-06-04 00:44:38 +02:00
jaseg
f1bf25b51f Fix transform math 2021-06-04 00:34:39 +02:00
jaseg
564ab243cc Add svg-flatten SVG feature tests 2021-06-03 23:45:11 +02:00
jaseg
de0f851645 svg-flatten: build against submodule pugixml 2021-06-03 00:10:26 +02:00
jaseg
6cca4a3278 Port svg-flatten to nopencv 2021-06-02 15:05:36 +02:00
jaseg
3e58a4228b Fix small logical error in tests 2021-06-02 12:13:52 +02:00
jaseg
7b58f2efc5 Fix tests 2021-06-02 12:12:32 +02:00
jaseg
0530c365ca Add polygon area function & tests. These tests catch a single-px bug. 2021-06-02 11:57:00 +02:00
jaseg
536a34cd59 Prettify test cases 2021-06-02 11:31:38 +02:00
jaseg
d18b8a1d80 Finish chain approximation tests 2021-06-02 11:00:35 +02:00
jaseg
3b553b3a1d Chain approximation approximately working 2021-06-02 00:02:36 +02:00
jaseg
3386e586ac Work on chain approx 2021-06-01 23:36:32 +02:00
jaseg
bbf1c02e79 Contour finding tests run through 2021-05-30 20:22:59 +02:00
jaseg
d175570177 Add beginnings of minimalist contour tracing code 2021-05-30 19:39:45 +02:00
jaseg
e06bbdbe9b Make templates default to silk layer when opened in inkscape 2021-05-24 21:11:46 +02:00
jaseg
d23d148660 Bump version to v2.1.1 2021-05-24 20:54:57 +02:00
jaseg
79e8da1f46 Fix phys2doc/doc2phys for image export 2021-05-24 20:50:53 +02:00
jaseg
ca6e6abfdc Bump version to v2.1.0 2021-04-25 18:44:09 +02:00
jaseg
5bb733e559 Fix pattern rendering and some xform bugs 2021-04-25 18:42:43 +02:00
jaseg
6eb2c967a0 svg-flatten: Add support for patterned strokes on outline layers 2021-04-25 15:41:50 +02:00
jaseg
1790ef9137 README: Document outline layer handling 2021-04-25 15:41:33 +02:00
jaseg
1d6d4e4f14 svg-flatten: Add support for line thickness to board outline exporter 2021-04-25 14:41:06 +02:00
jaseg
046e827be1 README: add doc on new board outline feature 2021-04-25 14:24:31 +02:00
jaseg
a0fe2d83f7 gerbolyze: Add support for board outline layer 2021-04-25 14:16:48 +02:00
jaseg
f2c891533f svg-flatten: Add outline/edge layer mode 2021-04-25 14:03:16 +02:00