Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_BasedCS Class Reference

#include <cpdf_basedcs.h>

+ Inheritance diagram for CPDF_BasedCS:
+ Collaboration diagram for CPDF_BasedCS:

Public Member Functions

 ~CPDF_BasedCS () override
 
void EnableStdConversion (bool bEnabled) final
 
- Public Member Functions inherited from CPDF_ColorSpace
std::vector< float > CreateBufAndSetDefaultColor () const
 
uint32_t CountComponents () const
 
Family GetFamily () const
 
bool IsSpecial () const
 
virtual bool GetRGB (pdfium::span< const float > pBuf, float *R, float *G, float *B) const =0
 
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_PatternCSAsPatternCS () const
 
virtual const CPDF_IndexedCSAsIndexedCS () 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
 
Observableoperator= (const Observable &that)=delete
 
 ~Observable ()
 
void AddObserver (ObserverIface *pObserver)
 
void RemoveObserver (ObserverIface *pObserver)
 
void NotifyObservers ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Protected Member Functions

 CPDF_BasedCS (Family family)
 
- Protected Member Functions inherited from CPDF_ColorSpace
 CPDF_ColorSpace (Family family)
 
 ~CPDF_ColorSpace () override
 
virtual uint32_t v_Load (CPDF_Document *pDoc, const CPDF_Array *pArray, std::set< const CPDF_Object * > *pVisited)=0
 
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

RetainPtr< CPDF_ColorSpacem_pBaseCS
 

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_ColorSpaceGetStockCS (Family family)
 
static RetainPtr< CPDF_ColorSpaceGetStockCSForName (const ByteString &name)
 
static RetainPtr< CPDF_ColorSpaceLoad (CPDF_Document *pDoc, const CPDF_Object *pObj, std::set< const CPDF_Object * > *pVisited)
 
static RetainPtr< CPDF_ColorSpaceAllocateColorSpaceForID (CPDF_Document *pDocument, uint32_t family_id)
 
static uint32_t ComponentsForFamily (Family family)
 

Detailed Description

Definition at line 16 of file cpdf_basedcs.h.

Constructor & Destructor Documentation

◆ ~CPDF_BasedCS()

CPDF_BasedCS::~CPDF_BasedCS ( )
overridedefault

◆ CPDF_BasedCS()

CPDF_BasedCS::CPDF_BasedCS ( Family family)
explicitprotected

Definition at line 9 of file cpdf_basedcs.cpp.

References CPDF_ColorSpace::CPDF_ColorSpace().

+ Here is the call graph for this function:

Member Function Documentation

◆ EnableStdConversion()

void CPDF_BasedCS::EnableStdConversion ( bool bEnabled)
finalvirtual

Reimplemented from CPDF_ColorSpace.

Definition at line 13 of file cpdf_basedcs.cpp.

References CPDF_ColorSpace::EnableStdConversion().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_BasedCS::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 18 of file cpdf_basedcs.h.

◆ m_pBaseCS

RetainPtr<CPDF_ColorSpace> CPDF_BasedCS::m_pBaseCS
protected

Definition at line 26 of file cpdf_basedcs.h.


The documentation for this class was generated from the following files: