pointInsidePen: Disallow endPath()

https://github.com/behdad/fonttools/issues/621#issuecomment-234764830
This commit is contained in:
Behdad Esfahbod 2016-08-10 17:31:29 -07:00
parent f3ff2f8881
commit 9b3660df9f

View File

@ -187,4 +187,6 @@ class PointInsidePen(BasePen):
self.lineTo(self.firstPoint) self.lineTo(self.firstPoint)
self.firstPoint = None self.firstPoint = None
_endPath = _closePath def _endPath(self):
"""Insideness is not defined for open contours."""
raise NotImplementedError