How to remove blur on scaling for context2d drawings #1236
-
My game involves lots of geometric shapes and polygons, so I would prefer to be able to draw most of my graphics using drawing code rather than sprite assets. My issue is that when I try drawing my own custom shapes, the edges get blurry when scaling the outer container to zoom in and out, but the built-in shapes like This is how the blurry triangle is rendered:
This is how the circles are rendered:
How can I render that triangle so it's not blurry when scaling? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Try to use |
Beta Was this translation helpful? Give feedback.
-
@soywiz Ah, well I really overcomplicated that thanks, I think I saw the bitmap method somewhere in a sample.
This works! |
Beta Was this translation helpful? Give feedback.
@soywiz Ah, well I really overcomplicated that thanks, I think I saw the bitmap method somewhere in a sample.
This works!