mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 12:49:05 +00:00
LibPDF: Add a very poor path clipping implementation
This completely ignores the actual path and just uses its bounding box, since our painter doesn't support clipping to paths.
This commit is contained in:
parent
b6c884d20c
commit
f2d2f3fae7
Notes:
sideshowbarker
2024-07-18 17:26:34 +09:00
Author: https://github.com/mattco98
Commit: f2d2f3fae7
Pull-request: https://github.com/SerenityOS/serenity/pull/7436
Reviewed-by: https://github.com/alimpfard
3 changed files with 36 additions and 21 deletions
|
@ -110,7 +110,7 @@ private:
|
|||
const Page& m_page;
|
||||
Gfx::Painter m_painter;
|
||||
|
||||
Gfx::Path m_path;
|
||||
Gfx::Path m_current_path;
|
||||
Vector<GraphicsState> m_graphics_state_stack;
|
||||
Gfx::AffineTransform m_text_matrix;
|
||||
Gfx::AffineTransform m_text_line_matrix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue