mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:57:34 +00:00
LibPDF: Add basic ICCBased color space handling
This commit is contained in:
parent
1238e65d30
commit
e1115cfe48
3 changed files with 39 additions and 0 deletions
|
@ -89,4 +89,16 @@ private:
|
|||
Array<float, 9> m_matrix { 1, 0, 0, 0, 1, 0, 0, 0, 1 };
|
||||
};
|
||||
|
||||
class ICCBasedColorSpace final : public ColorSpace {
|
||||
public:
|
||||
static PDFErrorOr<NonnullRefPtr<ColorSpace>> create(Document*, Page const&, Vector<Value>&& parameters);
|
||||
|
||||
~ICCBasedColorSpace() override = default;
|
||||
|
||||
Color color(Vector<Value> const& arguments) const override;
|
||||
|
||||
private:
|
||||
ICCBasedColorSpace() = delete;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue