Answer the question
In order to leave comments, you need to log in
How to smooth a drawable arc (drawn with GD library) in php?
Hello. There is a need to draw an arc using php (the output should look like a filling graph). It's quite possible to draw, but the arc "ripples", as I understand it, there is no anti-aliasing. How to smooth? The drawing method is of course a crutch, but I don’t see another way to make the arc wider.
for ($i = 0; $i < 90; $i++){
imageArc($img, 860, 1292, 1400 - $i, 1400 - $i, -90, 180, $color);
}
Answer the question
In order to leave comments, you need to log in
Where is the code?
Maybe the resolution needs to be done more, and not "smooth"?
This is not 3d graphics, there is no such processing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question