1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

LibGfx: Add method for copying a Path with a transform applied

The Web's CanvasRenderingContext2D needs a way to draw a path with a
transform applied to it, without modifying the original path, so here
it is. :^)
This commit is contained in:
Sam Atkins 2022-08-11 17:38:35 +01:00 committed by Andreas Kling
parent 2ec52bbbd5
commit 389f1ee6f5
2 changed files with 46 additions and 0 deletions

View file

@ -243,6 +243,8 @@ public:
return m_bounding_box.value();
}
Path copy_transformed(AffineTransform const&) const;
String to_string() const;
private: