mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:37:34 +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:
parent
2ec52bbbd5
commit
389f1ee6f5
2 changed files with 46 additions and 0 deletions
|
@ -243,6 +243,8 @@ public:
|
|||
return m_bounding_box.value();
|
||||
}
|
||||
|
||||
Path copy_transformed(AffineTransform const&) const;
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue