diff options
Diffstat (limited to 'svg-flatten/src/svg_doc.cpp')
-rw-r--r-- | svg-flatten/src/svg_doc.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp index b1c253a..0c09231 100644 --- a/svg-flatten/src/svg_doc.cpp +++ b/svg-flatten/src/svg_doc.cpp @@ -315,6 +315,14 @@ 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); } |