diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-04-24 17:20:00 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-04-24 20:17:42 +0200 |
commit | 776e0bd2069af0cfff7ce794cf3b345b613e1c02 (patch) | |
tree | 04d63001eee0ed741bd6869901610ee1b1603dd2 /svg-flatten/src/svg_import_util.cpp | |
parent | 89da2b3664ec75cf5de1e5d7ee48acd0f2847df8 (diff) | |
download | gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.tar.gz gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.tar.bz2 gerbolyze-776e0bd2069af0cfff7ce794cf3b345b613e1c02.zip |
Replace cairo curve flattener from Anitgrain Graphics
This also fixes an issue where non-closed curves were not dilated
properly.
Diffstat (limited to 'svg-flatten/src/svg_import_util.cpp')
-rw-r--r-- | svg-flatten/src/svg_import_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/src/svg_import_util.cpp b/svg-flatten/src/svg_import_util.cpp index efa7701..2193830 100644 --- a/svg-flatten/src/svg_import_util.cpp +++ b/svg-flatten/src/svg_import_util.cpp @@ -94,7 +94,7 @@ void gerbolyze::load_cairo_matrix_from_svg(const string &transform, cairo_matrix void gerbolyze::apply_cairo_transform_from_svg(cairo_t *cr, const string &transform) { cairo_matrix_t mat; load_cairo_matrix_from_svg(transform, mat); - cairo_transform(cr, &mat); /* or cairo_transform? */ + cairo_transform(cr, &mat); } /* Cf. https://tools.ietf.org/html/rfc2397 */ |