mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:18:12 +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
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