diff options
author | jaseg <git@jaseg.de> | 2022-06-19 21:26:35 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-19 21:26:35 +0200 |
commit | f58cca0ba66e66e924caf96545a348584d4f48ee (patch) | |
tree | 8e6ad2003eba35934d36a04f6bc908096c8274e5 /svg-flatten/src/svg_doc.cpp | |
parent | 446c5e59019501a8401410a4e9bb3495b155e660 (diff) | |
download | gerbolyze-f58cca0ba66e66e924caf96545a348584d4f48ee.tar.gz gerbolyze-f58cca0ba66e66e924caf96545a348584d4f48ee.tar.bz2 gerbolyze-f58cca0ba66e66e924caf96545a348584d4f48ee.zip |
svg-flatten: remove debug prints
Diffstat (limited to 'svg-flatten/src/svg_doc.cpp')
-rw-r--r-- | svg-flatten/src/svg_doc.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp index 0c09231..e8c02db 100644 --- a/svg-flatten/src/svg_doc.cpp +++ b/svg-flatten/src/svg_doc.cpp @@ -56,7 +56,6 @@ bool gerbolyze::SVGDocument::load(istream &in) { /* Set up the document's viewport transform */ istringstream vb_stream(root_elem.attribute("viewBox").value()); vb_stream >> vb_x >> vb_y >> vb_w >> vb_h; - cerr << "SVG document viewbox: origin=" << vb_x << "," << vb_y << ", size=" << vb_w << "," << vb_h << endl; page_w = usvg_double_attr(root_elem, "width"); page_h = usvg_double_attr(root_elem, "height"); @@ -315,14 +314,6 @@ void gerbolyze::SVGDocument::export_svg_path(RenderContext &ctx, const pugi::xml } else { PolyTreeToPaths(ptree_fill, fill_paths); - cerr << "clip paths" << endl; - for (auto &p : fill_paths) { - cerr << " "; - for (auto &pt : p) { - cerr << "<" << pt.X << "," << pt.Y << "> "; - } - cerr << endl; - } RenderContext local_ctx(ctx, xform2d(), fill_paths, true); pattern->tile(local_ctx); } |