Commit graph

26 commits

Author SHA1 Message Date
jaseg
9e9cc2bc01 svg-flatten: add export of patterns via aperture macros 2022-06-20 16:19:53 +02:00
jaseg
f58cca0ba6 svg-flatten: remove debug prints 2022-06-19 21:26:35 +02:00
jaseg
446c5e5901 svg-flatten: fix patterns with offset clip path 2022-06-19 21:25:10 +02:00
jaseg
676eff0a30 svg-flatten: Fix drills in patterns 2022-06-19 13:42:58 +02:00
jaseg
31b5a77c8a svg-flatten: Fix drill export 2022-06-19 00:53:55 +02:00
jaseg
14e9d7fbc2 svg-flatten: add drill handling to outline mode 2022-06-18 17:29:27 +02:00
jaseg
f55cfb4b35 svg-flatten: Make view box log output more readable 2022-06-10 22:42:31 +02:00
jaseg
d406b1f1d0 Add rgba color support for newer resvg/usvg 2021-09-29 16:38:51 +02:00
jaseg
8a64621e8c CI/svg-flatten: add wasm builds 2021-09-29 16:38:13 +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
236c4a4485 svg-flatten: Fix case where document unit is not mm 2021-08-17 22:55:47 +02:00
jaseg
61887e9ee1 Add & fix vectorizer tests 2021-06-04 23:28:36 +02:00
jaseg
018748aa23 Fix handling of dashes and joins, all tests run through now 2021-06-04 16:39:05 +02:00
jaseg
9230d678af Add support for stroke-dashoffset 2021-06-04 00:44:38 +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
1d6d4e4f14 svg-flatten: Add support for line thickness to board outline exporter 2021-04-25 14:41:06 +02:00
jaseg
f2c891533f svg-flatten: Add outline/edge layer mode 2021-04-25 14:03:16 +02:00
jaseg
1180ebdc1f Remove cairo dependency
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-25 00:20:51 +02:00
jaseg
da9d7280d5 svg-flatten: add curve flattening tolerance command line param 2021-02-17 18:58:11 +01:00
jaseg
f9c5c00f51 svg-flatten: Fix fill-rule handling for filled open paths 2021-02-17 18:33:31 +01:00
jaseg
3fc628beec Fix handling of stroke width under transformations 2021-02-11 00:18:54 +01:00
jaseg
8c494f7736 Work on fedora/debian compatibility 2021-02-06 00:05:27 +01:00
jaseg
2133867c8a Reorg: move svg-flatten files into subdir 2021-01-30 20:01:00 +01:00
Renamed from src/svg_doc.cpp (Browse further)