aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/vec_core.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-06-05Fix binary contours vectorizerjaseg1-2/+4
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 & fix vectorizer testsjaseg1-12/+25
2021-06-02Port svg-flatten to nopencvjaseg1-85/+56
2021-04-25Fix pattern rendering and some xform bugsjaseg1-1/+1
2021-04-25Remove cairo dependencywip-nocairojaseg1-85/+51
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-06Work on fedora/debian compatibilityjaseg1-1/+1
2021-01-30Reorg: move svg-flatten files into subdirjaseg1-0/+567