From 1f98a6c179d2d3bfa4fc68b044ffdb002edb7121 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 11 Oct 2011 10:39:04 -0700 Subject: [PATCH] gfx: comment clean-up --- src/gfx.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gfx.js b/src/gfx.js index fa239c1..8ebb938 100644 --- a/src/gfx.js +++ b/src/gfx.js @@ -48,15 +48,16 @@ pl.gfx.ellipse = function(ctx, x, y, width, height) { /** * @const * @type {number} + * 4 * ((√(2) - 1) / 3); */ -pl.gfx.kappa = 0.5522848; // 4 * ((√(2) - 1) / 3); +pl.gfx.kappa = 0.5522848; -// 2011-08-17 -// Discovered here: http://stackoverflow.com/questions/4478742/html5-canvas-can-i-somehow-use-linefeeds-in-filltext -// Inspired by: http://stackoverflow.com/users/128165/gaby-aka-g-petrioli -// Created by: http://stackoverflow.com/users/791890/jeffchan -// Copied from: http://jsfiddle.net/jeffchan/WHgaY/76/ /** + * 2011-08-17 + * Discovered here: http://stackoverflow.com/questions/4478742/html5-canvas-can-i-somehow-use-linefeeds-in-filltext + * Inspired by: http://stackoverflow.com/users/128165/gaby-aka-g-petrioli + * Created by: http://stackoverflow.com/users/791890/jeffchan + * Copied from: http://jsfiddle.net/jeffchan/WHgaY/76/ * @param {!CanvasRenderingContext2D} ctx * @param {!string} text * @param {number} x