How to anti-alias clip() edges in html5 canvas under Chrome Windows?

If you’re doing complex, layered drawing, you can use globalCompositeOperation to emulate clipping in a second, scratch canvas. You can then use drawImage to copy the scratch canvas back into the original canvas. I can’t guarantee the performance of this approach, but it’s the only way I know to get what you want. //set-up – … Read more