ext.lineTo( textWrapWidth, bottomOfCanvas );
  context.stroke();
  context.font = "10pt Arial";
  context.fillText( textWrapWidth + "px", textWrapWidth + 5, yOffset );
}

repaintCanvas();

input.onchange = repaintCanvas;


</script>