mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibPDF: Offset PaintStyle when painting so pattern overlaps properly
This commit is contained in:
parent
8ff87911a3
commit
8c7fc4fe6c
Notes:
sideshowbarker
2024-07-17 01:46:00 +09:00
Author: https://github.com/X-yl
Commit: 8c7fc4fe6c
Pull-request: https://github.com/SerenityOS/serenity/pull/22197
Reviewed-by: https://github.com/nico ✅
2 changed files with 13 additions and 0 deletions
|
@ -173,6 +173,8 @@ private:
|
|||
Gfx::AffineTransform mutable m_text_rendering_matrix;
|
||||
|
||||
HashMap<FontCacheKey, NonnullRefPtr<PDFFont>> m_font_cache;
|
||||
// Used to offset the PaintStyle's origin when rendering a pattern.
|
||||
RefPtr<Gfx::PaintStyle> m_original_paint_style;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue