![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_indexedcs.h>
Public Member Functions | |
| ~CPDF_IndexedCS () override | |
| std::optional< FX_RGB_STRUCT< float > > | GetRGB (pdfium::span< const float > pBuf) const override |
| const CPDF_IndexedCS * | AsIndexedCS () const override |
| uint32_t | v_Load (CPDF_Document *pDoc, const CPDF_Array *pArray, std::set< const CPDF_Object * > *pVisited) override |
| int | GetMaxIndex () const |
| Public Member Functions inherited from CPDF_BasedCS | |
| ~CPDF_BasedCS () override | |
| void | EnableStdConversion (bool bEnabled) final |
| Public Member Functions inherited from CPDF_ColorSpace | |
| std::vector< float > | CreateBufAndSetDefaultColor () const |
| uint32_t | ComponentCount () const |
| Family | GetFamily () const |
| bool | IsSpecial () const |
| FX_RGB_STRUCT< float > | GetRGBOrZerosOnError (pdfium::span< const float > pBuf) const |
| virtual void | GetDefaultValue (int iComponent, float *value, float *min, float *max) const |
| virtual void | TranslateImageLine (pdfium::span< uint8_t > dest_span, pdfium::span< const uint8_t > src_span, int pixels, int image_width, int image_height, bool bTransMask) const |
| virtual bool | IsNormal () const |
| virtual const CPDF_PatternCS * | AsPatternCS () const |
| Public Member Functions inherited from fxcrt::Retainable | |
| Retainable ()=default | |
| bool | HasOneRef () const |
| Public Member Functions inherited from fxcrt::Observable | |
| Observable () | |
| Observable (const Observable &that)=delete | |
| Observable & | operator= (const Observable &that)=delete |
| ~Observable () | |
| void | AddObserver (ObserverIface *pObserver) |
| void | RemoveObserver (ObserverIface *pObserver) |
| void | NotifyObservers () |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_RETAIN | |
| Public Attributes inherited from CPDF_BasedCS | |
| CONSTRUCT_VIA_MAKE_RETAIN | |
Additional Inherited Members | |
| Public Types inherited from CPDF_ColorSpace | |
| enum class | Family { kUnknown = 0 , kDeviceGray = 1 , kDeviceRGB = 2 , kDeviceCMYK = 3 , kCalGray = 4 , kCalRGB = 5 , kLab = 6 , kICCBased = 7 , kSeparation = 8 , kDeviceN = 9 , kIndexed = 10 , kPattern = 11 } |
| Static Public Member Functions inherited from CPDF_ColorSpace | |
| static void | InitializeGlobals () |
| static void | DestroyGlobals () |
| static RetainPtr< CPDF_ColorSpace > | GetStockCS (Family family) |
| static RetainPtr< CPDF_ColorSpace > | GetStockCSForName (const ByteString &name) |
| static RetainPtr< CPDF_ColorSpace > | Load (CPDF_Document *pDoc, const CPDF_Object *pObj, std::set< const CPDF_Object * > *pVisited) |
| static RetainPtr< CPDF_ColorSpace > | AllocateColorSpaceForID (CPDF_Document *pDocument, uint32_t family_id) |
| static uint32_t | ComponentsForFamily (Family family) |
| Protected Member Functions inherited from CPDF_BasedCS | |
| CPDF_BasedCS (Family family) | |
| Protected Member Functions inherited from CPDF_ColorSpace | |
| CPDF_ColorSpace (Family family) | |
| ~CPDF_ColorSpace () override | |
| void | SetComponentsForStockCS (uint32_t nComponents) |
| bool | IsStdConversionEnabled () const |
| bool | HasSameArray (const CPDF_Object *pObj) const |
| Protected Member Functions inherited from fxcrt::Retainable | |
| virtual | ~Retainable ()=default |
| Protected Member Functions inherited from fxcrt::Observable | |
| size_t | ActiveObserversForTesting () const |
| Protected Attributes inherited from CPDF_BasedCS | |
| RetainPtr< CPDF_ColorSpace > | m_pBaseCS |
Definition at line 25 of file cpdf_indexedcs.h.
|
overridedefault |
|
overridevirtual |
Reimplemented from CPDF_ColorSpace.
Definition at line 27 of file cpdf_indexedcs.cpp.
|
inline |
Definition at line 38 of file cpdf_indexedcs.h.
|
overridevirtual |
Implements CPDF_ColorSpace.
Definition at line 92 of file cpdf_indexedcs.cpp.
|
overridevirtual |
Implements CPDF_ColorSpace.
Definition at line 31 of file cpdf_indexedcs.cpp.
References CPDF_DocPageData::FromDocument(), CPDF_String::GetString(), CPDF_ColorSpace::HasSameArray(), CPDF_ColorSpace::kIndexed, CPDF_ColorSpace::kPattern, IndexedColorMinMax::max, and IndexedColorMinMax::min.
| CPDF_IndexedCS::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 27 of file cpdf_indexedcs.h.