Matthew Olsson
612b183703
LibPDF: Convert to east-const to comply with the recent style changes
2021-06-12 22:45:01 +04:30
Matthew Olsson
449ef14895
LibPDF: Avoid calculating rendering matrix for every glyph
2021-06-12 22:45:01 +04:30
Matthew Olsson
c142dadbe8
LibPDF: Handle the TJ graphical operator
2021-06-12 22:45:01 +04:30
Matthew Olsson
47531619e3
LibPDF: Handle the gs graphical operator
2021-06-12 22:45:01 +04:30
Matthew Olsson
7b4e36bf88
LibPDF: Split ColorSpace into a different class for each color space
...
While unnecessary at the moment, this will allow for more fine-grained
control when complex color spaces get added.
2021-06-12 22:45:01 +04:30
Matthew Olsson
78f3bad7e6
LibPDF: Pre-initialize common FlyStrings in CommonNames.h
2021-05-25 00:24:09 +04:30
Matthew Olsson
534a2e95d2
LibPDF: Add basic color space support to the renderer
...
This commit only supports the three most basic color spaces:
DeviceGray, DeviceRGB, and DeviceCMYK
2021-05-25 00:24:09 +04:30
Matthew Olsson
f2d2f3fae7
LibPDF: Add a very poor path clipping implementation
...
This completely ignores the actual path and just uses its bounding box,
since our painter doesn't support clipping to paths.
2021-05-25 00:24:09 +04:30
Matthew Olsson
bf96ad674c
LibPDF: Implement stubs for all graphical commands
2021-05-25 00:24:09 +04:30
Matthew Olsson
4479c1bff0
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!
2021-05-18 16:35:23 +02:00