I am trying to flip drawing drawn on a canvas. Please refer to the code at http://jsfiddle.net/hhzhR/1/. Please notice that the code there draws a ‘L’. If I uncomment the code ctx.scale(1, -1); then nothing is rendered.
I am trying to flip drawing drawn on a canvas . Please refer to
Share
When you flip the canvas, the path gets drawn out of the canvas region. You have to translate the canvas too:
like this example.