Lines Matching refs:points
58 def curveTo(self, *points): argument
79 def qCurveTo(self, *points): argument
128 def curveTo(self, *points): argument
131 def qCurveTo(self, *points): argument
226 def curveTo(self, *points): argument
227 n = len(points) - 1 # 'n' is the number of control points
234 self._curveToOne(*points)
235 self.__currentPoint = points[-1]
245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
249 self.qCurveTo(*points)
251 self.lineTo(points[0])
255 def qCurveTo(self, *points): argument
256 n = len(points) - 1 # 'n' is the number of control points
258 if points[-1] is None:
265 x, y = points[-2] # last off-curve point
266 nx, ny = points[0] # first off-curve point
270 points = points[:-1] + (impliedStartPoint,)
277 for pt1, pt2 in decomposeQuadraticSegment(points):
281 self.lineTo(points[0])
284 def decomposeSuperBezierSegment(points): argument
294 n = len(points) - 1
297 pt1, pt2, pt3 = points[0], None, None
303 temp1 = points[i-1]
304 temp2 = points[i-2]
314 bezierSegments.append((pt1, points[-2], points[-1]))
318 def decomposeQuadraticSegment(points): argument
328 n = len(points) - 1
332 x, y = points[i]
333 nx, ny = points[i+1]
335 quadSegments.append((points[i], impliedPt))
336 quadSegments.append((points[-2], points[-1]))