#include <cpdf_colorspace.h>
|
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
} |
|
|
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 void | EnableStdConversion (bool bEnabled) |
|
virtual bool | IsNormal () const |
|
virtual const CPDF_PatternCS * | AsPatternCS () const |
|
virtual const CPDF_IndexedCS * | AsIndexedCS () const |
|
| Retainable ()=default |
|
bool | HasOneRef () const |
|
| Observable () |
|
| Observable (const Observable &that)=delete |
|
Observable & | operator= (const Observable &that)=delete |
|
| ~Observable () |
|
void | AddObserver (ObserverIface *pObserver) |
|
void | RemoveObserver (ObserverIface *pObserver) |
|
void | NotifyObservers () |
|
Definition at line 55 of file cpdf_colorspace.h.
◆ Family
Enumerator |
---|
kUnknown | |
kDeviceGray | |
kDeviceRGB | |
kDeviceCMYK | |
kCalGray | |
kCalRGB | |
kLab | |
kICCBased | |
kSeparation | |
kDeviceN | |
kIndexed | |
kPattern | |
Definition at line 57 of file cpdf_colorspace.h.
◆ CPDF_ColorSpace()
CPDF_ColorSpace::CPDF_ColorSpace |
( |
Family | family | ) |
|
|
explicitprotected |
◆ ~CPDF_ColorSpace()
CPDF_ColorSpace::~CPDF_ColorSpace |
( |
| ) |
|
|
overrideprotecteddefault |
◆ AllocateColorSpaceForID()
◆ AsIndexedCS()
◆ AsPatternCS()
◆ ComponentsForFamily()
uint32_t CPDF_ColorSpace::ComponentsForFamily |
( |
Family | family | ) |
|
|
static |
◆ CountComponents()
uint32_t CPDF_ColorSpace::CountComponents |
( |
| ) |
const |
◆ CreateBufAndSetDefaultColor()
std::vector< float > CPDF_ColorSpace::CreateBufAndSetDefaultColor |
( |
| ) |
const |
◆ DestroyGlobals()
void CPDF_ColorSpace::DestroyGlobals |
( |
| ) |
|
|
static |
◆ EnableStdConversion()
void CPDF_ColorSpace::EnableStdConversion |
( |
bool | bEnabled | ) |
|
|
virtual |
◆ GetDefaultValue()
void CPDF_ColorSpace::GetDefaultValue |
( |
int | iComponent, |
|
|
float * | value, |
|
|
float * | min, |
|
|
float * | max ) const |
|
virtual |
◆ GetFamily()
Family CPDF_ColorSpace::GetFamily |
( |
| ) |
const |
|
inline |
◆ GetRGB()
virtual bool CPDF_ColorSpace::GetRGB |
( |
pdfium::span< const float > | pBuf, |
|
|
float * | R, |
|
|
float * | G, |
|
|
float * | B ) const |
|
pure virtual |
◆ GetStockCS()
◆ GetStockCSForName()
◆ HasSameArray()
bool CPDF_ColorSpace::HasSameArray |
( |
const CPDF_Object * | pObj | ) |
const |
|
inlineprotected |
◆ InitializeGlobals()
void CPDF_ColorSpace::InitializeGlobals |
( |
| ) |
|
|
static |
◆ IsNormal()
bool CPDF_ColorSpace::IsNormal |
( |
| ) |
const |
|
virtual |
◆ IsSpecial()
bool CPDF_ColorSpace::IsSpecial |
( |
| ) |
const |
|
inline |
◆ IsStdConversionEnabled()
bool CPDF_ColorSpace::IsStdConversionEnabled |
( |
| ) |
const |
|
inlineprotected |
◆ Load()
◆ SetComponentsForStockCS()
void CPDF_ColorSpace::SetComponentsForStockCS |
( |
uint32_t | nComponents | ) |
|
|
protected |
◆ TranslateImageLine()
void CPDF_ColorSpace::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 |
◆ v_Load()
◆ CPDF_CalGray_TranslateImageLine_Test
friend class CPDF_CalGray_TranslateImageLine_Test |
|
friend |
◆ CPDF_CalRGB_TranslateImageLine_Test
friend class CPDF_CalRGB_TranslateImageLine_Test |
|
friend |
The documentation for this class was generated from the following files: