mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:57:35 +00:00
LibWeb: SVG: implement SmoothQuadraticBezierCurve
For this we need to track the control point of the previous command and calculate a new control point based on it.
This commit is contained in:
parent
772fcba814
commit
9648bf4ada
2 changed files with 41 additions and 2 deletions
|
@ -112,6 +112,8 @@ public:
|
|||
|
||||
private:
|
||||
Vector<PathInstruction> m_instructions;
|
||||
Gfx::FloatPoint m_previous_control_point = {};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue