mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibGfx: Add Path::cubic_bezier_curve_to()
This is pretty unsophisticated as it will simply add a fixed number of of line segments approximating the curve. Still better than nothing.
This commit is contained in:
parent
139fdcc2cf
commit
09d13e437b
2 changed files with 13 additions and 0 deletions
|
@ -134,6 +134,8 @@ public:
|
|||
invalidate_split_lines();
|
||||
}
|
||||
|
||||
void cubic_bezier_curve_to(FloatPoint const& c1, FloatPoint const& c2, FloatPoint const& p2);
|
||||
|
||||
void elliptical_arc_to(const FloatPoint& point, const FloatPoint& radii, double x_axis_rotation, bool large_arc, bool sweep);
|
||||
void arc_to(const FloatPoint& point, float radius, bool large_arc, bool sweep)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue