mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibPDF: Implement DeviceNColorSpace
This commit is contained in:
parent
0f07049935
commit
5af6e1c042
2 changed files with 47 additions and 14 deletions
|
@ -125,9 +125,13 @@ public:
|
|||
ColorSpaceFamily const& family() const override { return ColorSpaceFamily::DeviceN; }
|
||||
|
||||
private:
|
||||
DeviceNColorSpace(size_t number_of_components);
|
||||
DeviceNColorSpace(NonnullRefPtr<ColorSpace>, NonnullRefPtr<Function>);
|
||||
|
||||
size_t m_number_of_components { 0 };
|
||||
Vector<DeprecatedString> m_names;
|
||||
NonnullRefPtr<ColorSpace> m_alternate_space;
|
||||
NonnullRefPtr<Function> m_tint_transform;
|
||||
Vector<float> mutable m_tint_input_values;
|
||||
Vector<Value> mutable m_tint_output_values;
|
||||
};
|
||||
|
||||
class CalGrayColorSpace final : public ColorSpace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue