summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorTobias Christiansen <tobi@tobyase.de>2021-05-22 21:33:07 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-23 18:28:27 +0200
commitbd2b17a70e3df4f44c302b320b36ee08a972b896 (patch)
treee4d1f33f7c8f8546ee9ce3433e4059443fc83af7 /Userland/DevTools
parent6a194869cf449bd62f661fb425ae3b7fc59df0de (diff)
downloadserenity-bd2b17a70e3df4f44c302b320b36ee08a972b896.zip
LibGfx: Replace ellipse drawing algorithm
The new one is way more naive and not as fancy as the old one, but it doesn't crash when trying to draw circles. This algorithm just sweeps the angles required by the call, makes sure each segment is at most 1 (pixel) long and just uses the standard parameterization to find the coordinates of each point on the ellipse.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions