[symfont] Remove printCache()

It wasn't updated, and not working, for ages.
This commit is contained in:
Behdad Esfahbod 2017-02-20 14:32:11 -06:00
parent 087d865831
commit 7bd0081368

View File

@ -130,14 +130,6 @@ class BezierFuncs(dict):
args.append('y%d' % d)
return sp.lambdify(args, green(self._symfunc, BezierCurve[i]))
def printCache(func, file=sys.stdout):
funcstr = str(func)
print("GreenPen._BezierFuncs['%s'] = [" % funcstr, file=file)
for i in range(n+1):
print(' lambda P:', green(func, BezierCurve[i]), ',')
print(']', file=file)
class GreenPen(BasePen):
_BezierFuncs = {}