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_patterncs.h>
Public Member Functions | |
~CPDF_PatternCS () override | |
void | InitializeStockPattern () |
bool | GetRGB (pdfium::span< const float > pBuf, float *R, float *G, float *B) const override |
const CPDF_PatternCS * | AsPatternCS () const override |
uint32_t | v_Load (CPDF_Document *pDoc, const CPDF_Array *pArray, std::set< const CPDF_Object * > *pVisited) override |
bool | GetPatternRGB (const PatternValue &value, float *R, float *G, float *B) 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 | CountComponents () const |
Family | GetFamily () const |
bool | IsSpecial () 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_IndexedCS * | AsIndexedCS () 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 17 of file cpdf_patterncs.h.
|
overridedefault |
|
overridevirtual |
Reimplemented from CPDF_ColorSpace.
Definition at line 51 of file cpdf_patterncs.cpp.
bool CPDF_PatternCS::GetPatternRGB | ( | const PatternValue & | value, |
float * | R, | ||
float * | G, | ||
float * | B ) const |
Definition at line 55 of file cpdf_patterncs.cpp.
|
overridevirtual |
Implements CPDF_ColorSpace.
Definition at line 44 of file cpdf_patterncs.cpp.
void CPDF_PatternCS::InitializeStockPattern | ( | ) |
Definition at line 18 of file cpdf_patterncs.cpp.
References CPDF_ColorSpace::SetComponentsForStockCS().
|
overridevirtual |
Implements CPDF_ColorSpace.
Definition at line 22 of file cpdf_patterncs.cpp.
References CPDF_DocPageData::FromDocument(), and CPDF_ColorSpace::HasSameArray().
CPDF_PatternCS::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 19 of file cpdf_patterncs.h.