mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
Revert "LibPDF: Add basic tiled, coloured pattern rendering"
This reverts commit 8ff87911a3
.
This commit is contained in:
parent
7cb216c95b
commit
6032c06f6b
5 changed files with 20 additions and 129 deletions
|
@ -252,24 +252,4 @@ private:
|
|||
NonnullRefPtr<Function> m_tint_transform;
|
||||
Vector<Value> mutable m_tint_output_values;
|
||||
};
|
||||
|
||||
class PatternColorSpace final : public ColorSpace {
|
||||
public:
|
||||
static NonnullRefPtr<PatternColorSpace> create(Renderer& renderer);
|
||||
~PatternColorSpace() override = default;
|
||||
|
||||
PDFErrorOr<ColorOrStyle> style(ReadonlySpan<Value> arguments) const override;
|
||||
int number_of_components() const override;
|
||||
Vector<float> default_decode() const override;
|
||||
ColorSpaceFamily const& family() const override { return ColorSpaceFamily::Pattern; }
|
||||
|
||||
private:
|
||||
PatternColorSpace(Renderer& renderer)
|
||||
: m_renderer(renderer)
|
||||
{
|
||||
}
|
||||
|
||||
Renderer& m_renderer;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue