Skip to content Skip to sidebar Skip to footer

Trying To Rotate Canvas, Something Is Going Wrong

So I'm trying to make a nice interactive map of my office in HTML5 for documentation purposes(tracking phone extensions, port numbers, etc), and since a lot of our offices and cubi

Solution 1:

The image won't show because you're drawing it outside of the canvas. Try this:

context.drawImage(tempCanvas, 0, 0, 80, 80, -40, -40, 80, 80);

Post a Comment for "Trying To Rotate Canvas, Something Is Going Wrong"