1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

LibGfx: Rename draw_ellipse/circle to fill_ellipse/circle

This makes these functions more consistent with the non-aa painter.
This commit is contained in:
MacDue 2022-06-01 00:51:38 +01:00 committed by Andreas Kling
parent f578247cdf
commit 8ac5f625e9
4 changed files with 14 additions and 13 deletions

View file

@ -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: