1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibPDF: Add a bitmap renderer

This commit adds the Renderer class, which is responsible for rendering
a page into a Gfx::Bitmap. There are many improvements to make here,
but this is a great start!
This commit is contained in:
Matthew Olsson 2021-05-10 10:50:39 -07:00 committed by Andreas Kling
parent d6a9b41bac
commit 4479c1bff0
4 changed files with 655 additions and 4 deletions

View file

@ -29,9 +29,6 @@ public:
ENUMERATE_OBJECT_TYPES(DEFINE_ID)
#undef DEFINE_ID
template<typename T>
NonnullRefPtr<T> resolved_to(Document*) const;
virtual const char* type_name() const = 0;
virtual String to_string(int indent) const = 0;