Lines Matching full:points
116 containing a range of points.
329 var points = [];
363 data = find_points(data, points, 1, relative, c);
364 var mid = { x: (c.x + points[0].x) / 2, y: (c.y + points[0].y) / 2 };
372 + points[0].x + "," + points[0].y + "," + radius + ");\n";
373 c = points[0];
376 data = find_points(data, points, 1, relative, c);
377 path += "ctx.moveTo(" + points[0].x + "," + points[0].y + ");\n";
379 c = points[0];
382 data = find_points(data, points, 1, relative, c);
383 path += "ctx.lineTo(" + points[0].x + "," + points[0].y + ");\n";
384 c = points[0];
399 data = find_points(data, points, 3, relative, c);
400 path += "ctx.bezierCurveTo(" + points[0].x + "," + points[0].y + ","
401 + points[1].x + "," + points[1].y + ","
402 + points[2].x + "," + points[2].y + ");\n";
403 lastc = points[1];
404 c = points[2];
409 points[0] = c;
410 points[1] = pts2_3[0];
411 points[2] = pts2_3[1];
413 points[0].x -= lastc.x - c.x;
414 points[0].y -= lastc.y - c.y;
416 path += "ctx.bezierCurveTo(" + points[0].x + "," + points[0].y + ","
417 + points[1].x + "," + points[1].y + ","
418 + points[2].x + "," + points[2].y + ");\n";
419 lastc = points[1];
420 c = points[2];
423 data = find_points(data, points, 2, relative, c);
424 path += "ctx.quadraticCurveTo(" + points[0].x + "," + points[0].y + ","
425 + points[1].x + "," + points[1].y + ");\n";
426 lastc = points[0];
427 c = points[1];
432 points[0] = pts2[0];
433 points[1] = pts2[0];
435 points[0].x = c.x * 2 - lastc.x;
436 points[0].y = c.y * 2 - lastc.y;
438 path += "ctx.quadraticCurveTo(" + points[0].x + "," + points[0].y + ","
439 + points[1].x + "," + points[1].y + ");\n";
440 path.quadTo(points[0], points[1]);
441 lastc = points[0];
442 c = points[1];
628 add_canvas_text(data, "sectorDesc2", { fillText:"containing a range of points.", y:240 } );