MCPcopy Index your code
hub / github.com/worrydream/Tangle / drawCrossAtPoint

Function drawCrossAtPoint

Examples/FilterExample.js:475–486  ·  view source on GitHub ↗
(x,y)

Source from the content-addressed store, hash-verified

473 canvasHeight/2 + unitRadius * pole2Imag);
474
475 function drawCrossAtPoint(x,y) {
476 var crossRadius = 3;
477 ctx.lineWidth = 1;
478 ctx.beginPath();
479 ctx.moveTo(x - crossRadius, y - crossRadius);
480 ctx.lineTo(x + crossRadius, y + crossRadius);
481 ctx.stroke();
482 ctx.beginPath();
483 ctx.moveTo(x - crossRadius, y + crossRadius);
484 ctx.lineTo(x + crossRadius, y - crossRadius);
485 ctx.stroke();
486 }
487 }
488
489};

Callers 1

FilterExample.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected