Changeset 87
- Timestamp:
- 05/30/08 03:18:23 (2 years ago)
- Files:
-
- trunk/Lib/robofab/pens/marginPen.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Lib/robofab/pens/marginPen.py
r86 r87 37 37 return 38 38 hits = splitLine(self.currentPt, pt, self.height, True) 39 #print "hits lineto", hits40 39 if len(hits)>1: 41 40 # result will be 2 tuples of 2 coordinates … … 57 56 def _curveToOne(self, pt1, pt2, pt3): 58 57 hits = splitCubic(self.currentPt, pt1, pt2, pt3, self.height, True) 59 #print "hits curveto", hits60 58 if len(hits)==2: 61 59 if not self.contourIndex in self.hits: … … 88 86 def getContourMargins(self): 89 87 """Get the horizontal margins for each contour.""" 90 print 'self.hits', self.hits91 88 allHits = {} 92 89 for index, pts in self.hits.items():
