diff options
author | Tobias Christiansen <tobi@tobyase.de> | 2021-05-16 16:14:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-20 22:08:02 +0200 |
commit | 8b63c2a10e4f4eeda1d0c2afdc8c825a752d816b (patch) | |
tree | 6760a1b833ea06bd7d05d97d2716a7832a166744 /Ports/ntbtls | |
parent | 819e0e0440dd29807faa458daff4f9c142cdf51a (diff) | |
download | serenity-8b63c2a10e4f4eeda1d0c2afdc8c825a752d816b.zip |
LibGfx: Add Painter::draw_circle_arc_intersecting()
This adds a function to draw a circle specified by a center point (
relative to the given Rect) and a radius. The circle arc is only drawn
inside the specified Rect as to allow for circle arc segments.
Technically this was already possible using draw_elliptical_arc(), but
the algorithm is quite involved and lead to wonky arcs when trying to
draw circle arc segments.
Diffstat (limited to 'Ports/ntbtls')
0 files changed, 0 insertions, 0 deletions