1
Fork 0
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:
AnotherTest 2020-05-05 05:45:17 +04:30 committed by Andreas Kling
parent 73a7a589c2
commit 9f3f98d4c0
5 changed files with 75 additions and 2 deletions

View file

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