You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting... canvas has a createPattern() helper, which allows creating a pattern from an image. Then, the pattern has a setTransform(matrix) which allows manipulating that image directly instead of the entire canvas context. This, of course, means we need to rasterize the text ahead of time, but it's certainly better than that sprite branch. And this should be fast?
Example code:
I am guessing we'd need an additional font family argument.
This code has very poor performance. Any acceptable solution will need to solve that.
The text was updated successfully, but these errors were encountered: