summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/Renderer.h
AgeCommit message (Collapse)Author
2021-11-17AK: Convert AK::Format formatting helpers to returning ErrorOr<void>Andreas Kling
This isn't a complete conversion to ErrorOr<void>, but a good chunk. The end goal here is to propagate buffer allocation failures to the caller, and allow the use of TRY() with formatting functions.
2021-06-12LibPDF: Convert to east-const to comply with the recent style changesMatthew Olsson
2021-06-12LibPDF: Avoid calculating rendering matrix for every glyphMatthew Olsson
2021-06-12LibPDF: Handle the TJ graphical operatorMatthew Olsson
2021-06-12LibPDF: Handle the gs graphical operatorMatthew Olsson
2021-06-12LibPDF: Split ColorSpace into a different class for each color spaceMatthew Olsson
While unnecessary at the moment, this will allow for more fine-grained control when complex color spaces get added.
2021-05-25LibPDF: Pre-initialize common FlyStrings in CommonNames.hMatthew Olsson
2021-05-25LibPDF: Add basic color space support to the rendererMatthew Olsson
This commit only supports the three most basic color spaces: DeviceGray, DeviceRGB, and DeviceCMYK
2021-05-25LibPDF: Add a very poor path clipping implementationMatthew Olsson
This completely ignores the actual path and just uses its bounding box, since our painter doesn't support clipping to paths.
2021-05-25LibPDF: Implement stubs for all graphical commandsMatthew Olsson
2021-05-18LibPDF: Add a bitmap rendererMatthew Olsson
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!