diff options
author | jaseg <git@jaseg.de> | 2021-08-18 17:29:57 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-08-18 17:29:57 +0200 |
commit | aaade1b168b3780a9c2ed1387165086ede33bc54 (patch) | |
tree | f379dc1568a6c08e4ccfa68c2572773183dfe5d1 /svg-flatten/src/svg_pattern.h | |
parent | aad0ae0215719faaf74445d5833921cb07982012 (diff) | |
download | gerbolyze-aaade1b168b3780a9c2ed1387165086ede33bc54.tar.gz gerbolyze-aaade1b168b3780a9c2ed1387165086ede33bc54.tar.bz2 gerbolyze-aaade1b168b3780a9c2ed1387165086ede33bc54.zip |
Collect various rendering params into new RenderContext object
Diffstat (limited to 'svg-flatten/src/svg_pattern.h')
-rw-r--r-- | svg-flatten/src/svg_pattern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svg-flatten/src/svg_pattern.h b/svg-flatten/src/svg_pattern.h index 56444dd..73efe5a 100644 --- a/svg-flatten/src/svg_pattern.h +++ b/svg-flatten/src/svg_pattern.h @@ -30,13 +30,14 @@ namespace gerbolyze { class SVGDocument; class RenderSettings; +class RenderContext; class Pattern { public: Pattern() {} Pattern(const pugi::xml_node &node, SVGDocument &doc); - void tile (xform2d &mat, const gerbolyze::RenderSettings &rset, ClipperLib::Paths &clip); + void tile (RenderContext &ctx); private: double x, y, w, h; |