Results 41 comments of ippa

Hi, it sounds like your looking for this: https://github.com/ippa/jaws/blob/master/src/text.js ?

Hey .. thanks for taking the time to give feedback, fix benchmarks and so on. Regarding compability, I can't ignore IE9 as of now. Regarding your first benchmark, canvas image...

Hm, I can see this being slightly confusing. Cause Sprite(scale_image: X) isn't the same as sprite.setScale(x). scale_image argument to Sprite() _prescales_ the image (with a simple algo resulting in retrostyle...

hi, gone for a few days, I'll try to take a look at this when I'm back!

Hi.. it was more then a few days I guess ;). Do you still have the problem? If you wan't me to take a look at it I'll need a...

I don't think there's nothing stopping you from doing that right now? sprite.setImage( ) can take an image or canvas which you have loaded or dynamically created. Maybe I'm missing...

try "return canvas.context" instead of "return canvas" .. does it work? It should. But we could also patch setImage to detect a canvas and do that automatically for us, should...

ok, I got confused. It should be an canvas, not a context. So your first example should work. Look at example11.html ... jaws.gfx.retroScaleImage() returns a canvas. Which I one line...

https://github.com/ippa/jaws/blob/master/src/gfx.js#L13