mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGfx: Add Painter::draw_quadratic_bezier_curve()
Also adds a QuadraticBezierCurveTo mode to Gfx::Path
This commit is contained in:
parent
73a7a589c2
commit
9f3f98d4c0
Notes:
sideshowbarker
2024-07-19 06:58:36 +09:00
Author: https://github.com/alimpfard
Commit: 9f3f98d4c0
Pull-request: https://github.com/SerenityOS/serenity/pull/2110
5 changed files with 75 additions and 2 deletions
|
@ -59,6 +59,9 @@ String Path::to_string() const
|
|||
case Segment::Type::LineTo:
|
||||
builder.append("LineTo");
|
||||
break;
|
||||
case Segment::Type::QuadraticBezierCurveTo:
|
||||
builder.append("QuadraticBezierCurveTo");
|
||||
break;
|
||||
case Segment::Type::Invalid:
|
||||
builder.append("Invalid");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue