Removed print statements.

git-svn-id: http://svn.robofab.com/trunk@87 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
This commit is contained in:
Erik van Blokland 2008-05-30 08:18:23 +00:00
parent ac33952df5
commit 2093fcbad2

View File

@ -36,7 +36,6 @@ class MarginPen(BasePen):
if pt == self.currentPt: if pt == self.currentPt:
return return
hits = splitLine(self.currentPt, pt, self.height, True) hits = splitLine(self.currentPt, pt, self.height, True)
#print "hits lineto", hits
if len(hits)>1: if len(hits)>1:
# result will be 2 tuples of 2 coordinates # result will be 2 tuples of 2 coordinates
# first two points: start to intersect # first two points: start to intersect
@ -56,7 +55,6 @@ class MarginPen(BasePen):
def _curveToOne(self, pt1, pt2, pt3): def _curveToOne(self, pt1, pt2, pt3):
hits = splitCubic(self.currentPt, pt1, pt2, pt3, self.height, True) hits = splitCubic(self.currentPt, pt1, pt2, pt3, self.height, True)
#print "hits curveto", hits
if len(hits)==2: if len(hits)==2:
if not self.contourIndex in self.hits: if not self.contourIndex in self.hits:
self.hits[self.contourIndex] = [] self.hits[self.contourIndex] = []
@ -87,7 +85,6 @@ class MarginPen(BasePen):
def getContourMargins(self): def getContourMargins(self):
"""Get the horizontal margins for each contour.""" """Get the horizontal margins for each contour."""
print 'self.hits', self.hits
allHits = {} allHits = {}
for index, pts in self.hits.items(): for index, pts in self.hits.items():
unique = list(Set(pts)) unique = list(Set(pts))