aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_doc.cpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-19 21:26:35 +0200
committerjaseg <git@jaseg.de>2022-06-19 21:26:35 +0200
commitf58cca0ba66e66e924caf96545a348584d4f48ee (patch)
tree8e6ad2003eba35934d36a04f6bc908096c8274e5 /svg-flatten/src/svg_doc.cpp
parent446c5e59019501a8401410a4e9bb3495b155e660 (diff)
downloadgerbolyze-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.cpp9
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);
}