mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
LibPDF: Propagate ColorSpace errors
This commit is contained in:
parent
73cf8205b4
commit
d82bd885ce
4 changed files with 26 additions and 27 deletions
|
@ -97,7 +97,7 @@ private:
|
|||
void set_graphics_state_from_dict(NonnullRefPtr<DictObject>);
|
||||
// shift is the manual advance given in the TJ command array
|
||||
void show_text(String const&, float shift = 0.0f);
|
||||
RefPtr<ColorSpace> get_color_space(Value const&);
|
||||
PDFErrorOr<NonnullRefPtr<ColorSpace>> get_color_space(Value const&);
|
||||
|
||||
ALWAYS_INLINE GraphicsState const& state() const { return m_graphics_state_stack.last(); }
|
||||
ALWAYS_INLINE GraphicsState& state() { return m_graphics_state_stack.last(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue