7 #ifndef PDF_COLOR_SPACE_H
8 #define PDF_COLOR_SPACE_H
10 #include "PdfElement.h"
11 #include "PdfColorSpaceFilter.h"
17 class PODOFO_API PdfColorSpace final :
public PdfDictionaryElement
19 friend class PdfDocument;
23 PdfColorSpace(
const PdfColorSpace&) =
default;
25 const PdfColorSpaceFilter& GetFilter()
const {
return *m_Filter; }
37 friend class PdfGraphicsStateWrapper;
73 const PdfColorSpace* m_Element;
A class that implements methods to sample colors from a scanline buffer.
Definition: PdfColorSpaceFilter.h:31
A proxy class that can used to identify a color space choosing from several input types.
Definition: PdfColorSpace.h:36
A list of PdfObjects that constitutes the indirect object list of the document The PdfParser will rea...
Definition: PdfIndirectObjectList.h:30
This class represents a PDF indirect Object in memory.
Definition: PdfObject.h:35
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16
std::shared_ptr< const PdfColorSpaceFilter > PdfColorSpaceFilterPtr
Convenience alias for a constant PdfColorSpaceFilter shared ptr.
Definition: PdfColorSpaceFilter.h:77
PdfColorSpaceType
Enum for the colorspaces supported by PDF.
Definition: PdfDeclarations.h:330