mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
LibGfx: Let Painter care about TinyVG transforms
This helps us with non-uniform scales, and makes things simple
This commit is contained in:
parent
0b1c7d6af2
commit
ea469fbeab
Notes:
github-actions[bot]
2024-12-14 22:30:42 +00:00
Author: https://github.com/shlyakpavel
Commit: ea469fbeab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2717
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta
5 changed files with 19 additions and 31 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
return m_size;
|
||||
}
|
||||
|
||||
virtual void draw_transformed(Painter&, AffineTransform) const override;
|
||||
virtual void draw(Painter&) const override;
|
||||
|
||||
ReadonlySpan<DrawCommand> draw_commands() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue