"added TODO"

This commit is contained in:
André Fiedler 2012-03-09 23:27:22 +00:00
parent 4dc4132818
commit 6cf3d36624

View File

@ -355,6 +355,8 @@ _html2canvas.Generate.Gradient = function(src, bounds) {
img.src = canvas.toDataURL(); img.src = canvas.toDataURL();
} else if(gradient && gradient.type === 'radial'){ } else if(gradient && gradient.type === 'radial'){
// TODO: Add support for "ellipsis" drawing
grad = ctx.createRadialGradient(gradient.cx, gradient.cy, 0, gradient.cx, gradient.cy, gradient.rx); grad = ctx.createRadialGradient(gradient.cx, gradient.cy, 0, gradient.cx, gradient.cy, gradient.rx);
for (i = 0, len = gradient.colorStops.length; i < len; i+=1) { for (i = 0, len = gradient.colorStops.length; i < len; i+=1) {