mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibPDF: Do not have redundant variables for image size
This way, the size of the bitmap cannot become out of sync with these variables. No behavior change.
This commit is contained in:
parent
c7c4987967
commit
472bc367d3
2 changed files with 13 additions and 13 deletions
|
@ -160,7 +160,7 @@ private:
|
|||
PDFErrorOr<LoadedImage> load_image(NonnullRefPtr<StreamObject>);
|
||||
|
||||
PDFErrorOr<void> show_image(NonnullRefPtr<StreamObject>);
|
||||
void show_empty_image(int width, int height);
|
||||
void show_empty_image(Gfx::IntSize);
|
||||
PDFErrorOr<NonnullRefPtr<ColorSpace>> get_color_space_from_resources(Value const&, NonnullRefPtr<DictObject>);
|
||||
PDFErrorOr<NonnullRefPtr<ColorSpace>> get_color_space_from_document(NonnullRefPtr<Object>);
|
||||
|
||||
|
@ -180,7 +180,7 @@ private:
|
|||
|
||||
float line_width() const;
|
||||
|
||||
Gfx::AffineTransform calculate_image_space_transformation(int width, int height);
|
||||
Gfx::AffineTransform calculate_image_space_transformation(Gfx::IntSize);
|
||||
|
||||
PDFErrorOr<NonnullRefPtr<PDFFont>> get_font(FontCacheKey const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue