Hey everyone,
I require some help with my project: I want to make a circle shaped progress bar, so 100% is a full circle, 50% is half circle... My first attempt was dxDrawCircle, but it's very ugly and requires a lot of resources if I'm not wrong. The second attempt was using an image of a circle + dxDrawImageSection. The only problem is that the section is rectangular and this way it can make it ugly at certain values because it just cuts the circle at values like 21%, 41%, etc. It looks good at 25%, 50%, etc. Is there a way to determine the section to draw in a circular (circle sector) shape? So it wouldn't cut the image horizontally and/or vertically. I made a fast representation about this. https://imgur.com/a/e0Cdwjo
Or is there a way to draw a non-pixelated circle? This whole thing would be easy with dxDrawCircle, but the quality ruins it.
Thank you for your time!