added _endPath method; without it, we'd fail on open paths (which requires pen.endPath() to be called instead of pen.closePath())

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@496 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
jvr 2005-03-08 09:40:25 +00:00
parent c53569efef
commit 3a98ae5baf

View File

@ -187,3 +187,5 @@ class PointInsidePen(BasePen):
if self._getCurrentPoint() != self.firstPoint: if self._getCurrentPoint() != self.firstPoint:
self.lineTo(self.firstPoint) self.lineTo(self.firstPoint)
self.firstPoint = None self.firstPoint = None
_endPath = _closePath