mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibWeb: Fix typo in FillEllipse painting command name
This commit is contained in:
parent
790bfd7ef9
commit
a5cf875e23
2 changed files with 4 additions and 4 deletions
|
@ -107,7 +107,7 @@ void RecordingPainter::draw_ellipse(Gfx::IntRect const& a_rect, Color color, int
|
|||
|
||||
void RecordingPainter::fill_ellipse(Gfx::IntRect const& a_rect, Color color, Gfx::AntiAliasingPainter::BlendMode blend_mode)
|
||||
{
|
||||
push_command(FillElipse {
|
||||
push_command(FillEllipse {
|
||||
.rect = state().translation.map(a_rect),
|
||||
.color = color,
|
||||
.blend_mode = blend_mode,
|
||||
|
@ -488,7 +488,7 @@ void RecordingPainter::execute(PaintingCommandExecutor& executor)
|
|||
[&](DrawEllipse const& command) {
|
||||
return executor.draw_ellipse(command.rect, command.color, command.thickness);
|
||||
},
|
||||
[&](FillElipse const& command) {
|
||||
[&](FillEllipse const& command) {
|
||||
return executor.fill_ellipse(command.rect, command.color, command.blend_mode);
|
||||
},
|
||||
[&](DrawLine const& command) {
|
||||
|
|
|
@ -203,7 +203,7 @@ struct DrawEllipse {
|
|||
[[nodiscard]] Gfx::IntRect bounding_rect() const { return rect; }
|
||||
};
|
||||
|
||||
struct FillElipse {
|
||||
struct FillEllipse {
|
||||
Gfx::IntRect rect;
|
||||
Color color;
|
||||
Gfx::AntiAliasingPainter::BlendMode blend_mode;
|
||||
|
@ -332,7 +332,7 @@ using PaintingCommand = Variant<
|
|||
StrokePathUsingColor,
|
||||
StrokePathUsingPaintStyle,
|
||||
DrawEllipse,
|
||||
FillElipse,
|
||||
FillEllipse,
|
||||
DrawLine,
|
||||
DrawSignedDistanceField,
|
||||
PaintProgressbar,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue