HTML5 canvas clip() doesn't work in Chrome when rotation is applied

后端 未结 2 1006
别那么骄傲
别那么骄傲 2021-01-07 04:17

I\'m trying to use a clip region on a canvas and it stops working as soon as the coordinate system is rotated by any non zero value:

2条回答
  •  长情又很酷
    2021-01-07 04:30

    The problem seems to be related to the browser hardware acceleration. Everything works fine as soon as I turn it off.

    However, I don't know if it's possible for my web page to disable hardware acceleration.

提交回复
热议问题