Home | History | Annotate | Download | only in pens

Lines Matching refs:pt2

164 	def _curveToOne(self, pt1, pt2, pt3):
175 def _qCurveToOne(self, pt1, pt2):
182 pt2x, pt2y = pt2
187 self._curveToOne((mid1x, mid1y), (mid2x, mid2y), pt2)
245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
246 _curveToOne(pt1, pt2, pt3)
277 for pt1, pt2 in decomposeQuadraticSegment(points):
278 _qCurveToOne(pt1, pt2)
279 self.__currentPoint = pt2
291 This function returns a list of (pt1, pt2, pt3) tuples, which each
297 pt1, pt2, pt3 = points[0], None, None
307 if pt2 is None:
308 pt2 = temp
310 pt3 = (0.5 * (pt2[0] + temp[0]),
311 0.5 * (pt2[1] + temp[1]))
312 bezierSegments.append((pt1, pt2, pt3))
313 pt1, pt2, pt3 = temp, None, None
325 This function returns a list of (pt1, pt2) tuples, which each specify a