From 67c9b510cbb1d285313d798825bfa89c177bf76b Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 17 May 2019 01:16:18 -0700 Subject: [PATCH] Rename svg functions to reflect their gds counterparts Backwards incompatible! --- masque/file/svg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/file/svg.py b/masque/file/svg.py index 6a28c25..6e5ff75 100644 --- a/masque/file/svg.py +++ b/masque/file/svg.py @@ -12,7 +12,7 @@ from .. import Pattern __author__ = 'Jan Petykiewicz' -def write(pattern: Pattern, +def writefile(pattern: Pattern, filename: str, custom_attributes: bool=False): """ @@ -83,7 +83,7 @@ def write(pattern: Pattern, svg.save() -def write_inverted(pattern: Pattern, filename: str): +def writefile_inverted(pattern: Pattern, filename: str): """ Write an inverted Pattern to an SVG file, by first calling .polygonize() and .flatten() on it to change the shapes into polygons, then drawing a bounding