How to remove blur on scaling for context2d drawings #1236
Answered
by
chrispytoes
chrispytoes
asked this question in
Q&A
|
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? |
Answered by
chrispytoes
Jan 29, 2023
Replies: 2 comments 1 reply
|
Try to use |
0 replies
@soywiz Ah, well I really overcomplicated that thanks, I think I saw the bitmap method somewhere in a sample. This works! |
1 reply
Answer selected by
soywiz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

@soywiz Ah, well I really overcomplicated that thanks, I think I saw the bitmap method somewhere in a sample.
This works!