mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibGfxDemo: Add an elliptic arc next to the Bezier curves
Because why not.
This commit is contained in:
parent
1ea466661f
commit
598a6d46c7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void Canvas::draw()
|
|||
path.quadratic_bezier_curve_to({ 320, 500 }, { 220, 400 });
|
||||
path.line_to({ 300, 440 });
|
||||
path.line_to({ 90, 460 });
|
||||
path.quadratic_bezier_curve_to({ 260, 500 }, { 200, 540 });
|
||||
path.elliptical_arc_to({ 260, 540 }, { 40, 30 }, 0, true, false);
|
||||
path.close();
|
||||
painter.fill_path(path, Color::Yellow, Gfx::Painter::WindingRule::EvenOdd);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue