Lines Matching refs:ctx
367 var ctx;
435 ctx.strokeStyle = i[1];
436 ctx.beginPath();
437 ctx.moveTo(+(i[2]), +(i[3]));
438 ctx.lineTo(+(i[4]), +(i[5]));
439 ctx.stroke();
442 ctx.strokeStyle = i[1];
443 ctx.beginPath();
444 ctx.arc(+(i[2]), +(i[3]), +(i[4]), 0, Math.PI*2, true);
445 ctx.stroke();
466 ctx = canvas.getContext("2d");