1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:38:12 +00:00

LibPDF: Add basic tiled, coloured pattern rendering

This commit is contained in:
Kyle Pereira 2023-12-07 13:07:56 +00:00 committed by Andreas Kling
parent 8191f2b47a
commit 8ff87911a3
5 changed files with 129 additions and 20 deletions

View file

@ -97,6 +97,8 @@ struct RenderingPreferences {
};
class Renderer {
friend class PatternColorSpace;
public:
static PDFErrorsOr<void> render(Document&, Page const&, RefPtr<Gfx::Bitmap>, Color background_color, RenderingPreferences preferences);