mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibPDF+PDFViewer: Extract Renderer::apply_page_rotation()
No behavior change.
This commit is contained in:
parent
5e9395b808
commit
03fab7089a
3 changed files with 15 additions and 9 deletions
|
@ -104,6 +104,8 @@ class Renderer {
|
|||
public:
|
||||
static PDFErrorsOr<void> render(Document&, Page const&, RefPtr<Gfx::Bitmap>, Color background_color, RenderingPreferences preferences);
|
||||
|
||||
static ErrorOr<NonnullRefPtr<Gfx::Bitmap>> apply_page_rotation(NonnullRefPtr<Gfx::Bitmap>, Page const&, int extra_degrees = 0);
|
||||
|
||||
struct FontCacheKey {
|
||||
NonnullRefPtr<DictObject> font_dictionary;
|
||||
float font_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue