summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/Renderer.cpp
AgeCommit message (Collapse)Author
2021-06-12LibPDF: Convert to east-const to comply with the recent style changesMatthew Olsson
2021-06-12LibPDF: Bake the flipped y-axis directly into the CTM matrixMatthew 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: Add support for the CalRGB ColorSpaceMatthew Olsson
This isn't tested all that well, as the PDF I am testing with only uses it for black (which is trivial). It can be tested further when LibPDF is able to process more complex PDFs that actually use this color space non-trivially.
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-06-12LibPDF: Account for inverted y axis when rendering textMatthew Olsson
2021-06-01Everywhere: codepoint => code pointAndreas Kling
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!