Hi there,
I have just drawn something using canvas to save bandwidth instead of using an image. When I zoomed the text I realized that the canvas won't resize automatically. Can anyone help?
Thanks
Code:ctx = $(this).find("#html5_price"); var element = ctx.get(0); ctx=element.getContext("2d"); ctx.fillStyle="#2668f9"; ctx.beginPath(); ctx.arc(25,25,25,0,Math.PI*2,true); ctx.closePath(); ctx.fill();



Reply With Quote


Bookmarks