diff options
author | MacDue <macdue@dueutil.tech> | 2022-06-01 00:51:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-06-01 19:33:45 +0200 |
commit | 8ac5f625e90d137096827d55a3916fdc67a89e81 (patch) | |
tree | 729b4bc12e4f38cc7c266ab91c30297f232dc054 /Userland/Applications/PixelPaint | |
parent | f578247cdf90036a74ec00732f0b14f35520f11c (diff) | |
download | serenity-8ac5f625e90d137096827d55a3916fdc67a89e81.zip |
LibGfx: Rename draw_ellipse/circle to fill_ellipse/circle
This makes these functions more consistent with the non-aa painter.
Diffstat (limited to 'Userland/Applications/PixelPaint')
-rw-r--r-- | Userland/Applications/PixelPaint/Tools/EllipseTool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/EllipseTool.cpp b/Userland/Applications/PixelPaint/Tools/EllipseTool.cpp index 0a55b49bad..f39008d6f6 100644 --- a/Userland/Applications/PixelPaint/Tools/EllipseTool.cpp +++ b/Userland/Applications/PixelPaint/Tools/EllipseTool.cpp @@ -42,7 +42,7 @@ void EllipseTool::draw_using(GUI::Painter& painter, Gfx::IntPoint const& start_p break; case FillMode::FillAntiAliased: { Gfx::AntiAliasingPainter aa_painter { painter }; - aa_painter.draw_ellipse(ellipse_intersecting_rect, m_editor->color_for(m_drawing_button)); + aa_painter.fill_ellipse(ellipse_intersecting_rect, m_editor->color_for(m_drawing_button)); break; } default: |