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_IccProfile Class Referencefinal

#include <cpdf_iccprofile.h>

+ Inheritance diagram for CPDF_IccProfile:
+ Collaboration diagram for CPDF_IccProfile:

Public Member Functions

bool IsValid () const
 
bool IsSRGB () const
 
bool IsSupported () const
 
uint32_t GetComponents () const
 
bool IsNormal () const
 
void Translate (pdfium::span< const float > pSrcValues, pdfium::span< float > pDestValues)
 
void TranslateScanline (pdfium::span< uint8_t > pDest, pdfium::span< const uint8_t > pSrc, int pixels)
 
- 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
 

Private Member Functions

 ~CPDF_IccProfile () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 
- Protected Member Functions inherited from fxcrt::Observable
size_t ActiveObserversForTesting () const
 

Detailed Description

Definition at line 24 of file cpdf_iccprofile.h.

Member Function Documentation

◆ ~CPDF_IccProfile()

CPDF_IccProfile::~CPDF_IccProfile ( )
overrideprivatedefault

◆ GetComponents()

uint32_t CPDF_IccProfile::GetComponents ( ) const
inline

Definition at line 31 of file cpdf_iccprofile.h.

◆ IsNormal()

bool CPDF_IccProfile::IsNormal ( ) const

Definition at line 48 of file cpdf_iccprofile.cpp.

◆ IsSRGB()

bool CPDF_IccProfile::IsSRGB ( ) const
inline

Definition at line 29 of file cpdf_iccprofile.h.

Referenced by IsValid().

+ Here is the caller graph for this function:

◆ IsSupported()

bool CPDF_IccProfile::IsSupported ( ) const
inline

Definition at line 30 of file cpdf_iccprofile.h.

Referenced by IsValid().

+ Here is the caller graph for this function:

◆ IsValid()

bool CPDF_IccProfile::IsValid ( ) const
inline

Definition at line 28 of file cpdf_iccprofile.h.

References IsSRGB(), and IsSupported().

+ Here is the call graph for this function:

◆ Translate()

void CPDF_IccProfile::Translate ( pdfium::span< const float > pSrcValues,
pdfium::span< float > pDestValues )

Definition at line 52 of file cpdf_iccprofile.cpp.

◆ TranslateScanline()

void CPDF_IccProfile::TranslateScanline ( pdfium::span< uint8_t > pDest,
pdfium::span< const uint8_t > pSrc,
int pixels )

Definition at line 57 of file cpdf_iccprofile.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_IccProfile::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 26 of file cpdf_iccprofile.h.


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