Black
This commit is contained in:
parent
272f73632a
commit
38d190a3cc
@ -37,7 +37,13 @@ class SVGPathPen(BasePen):
|
|||||||
print(tpen.getCommands())
|
print(tpen.getCommands())
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, glyphSet, ntos: Callable[[float], str] = (lambda x: ("%.2f" % x) if x != int(x) else str(int(x)))):
|
def __init__(
|
||||||
|
self,
|
||||||
|
glyphSet,
|
||||||
|
ntos: Callable[[float], str] = (
|
||||||
|
lambda x: ("%.2f" % x) if x != int(x) else str(int(x))
|
||||||
|
),
|
||||||
|
):
|
||||||
BasePen.__init__(self, glyphSet)
|
BasePen.__init__(self, glyphSet)
|
||||||
self._commands = []
|
self._commands = []
|
||||||
self._lastCommand = None
|
self._lastCommand = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user