Rename svg functions to reflect their gds counterparts
Backwards incompatible!
This commit is contained in:
parent
503a77925e
commit
67c9b510cb
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue