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

#include <cpdf_psfunc.h>

+ Inheritance diagram for CPDF_PSFunc:
+ Collaboration diagram for CPDF_PSFunc:

Public Member Functions

 CPDF_PSFunc ()
 
 ~CPDF_PSFunc () override
 
bool v_Init (const CPDF_Object *pObj, VisitedSet *pVisited) override
 
bool v_Call (pdfium::span< const float > inputs, pdfium::span< float > results) const override
 
- Public Member Functions inherited from CPDF_Function
virtual ~CPDF_Function ()
 
absl::optional< uint32_t > Call (pdfium::span< const float > inputs, pdfium::span< float > results) const
 
uint32_t CountInputs () const
 
uint32_t CountOutputs () const
 
float GetDomain (int i) const
 
float GetRange (int i) const
 
float Interpolate (float x, float xmin, float xmax, float ymin, float ymax) const
 

Additional Inherited Members

- Public Types inherited from CPDF_Function
enum class  Type {
  kTypeInvalid = -1 , kType0Sampled = 0 , kType2ExponentialInterpolation = 2 , kType3Stitching = 3 ,
  kType4PostScript = 4
}
 
- Static Public Member Functions inherited from CPDF_Function
static std::unique_ptr< CPDF_FunctionLoad (RetainPtr< const CPDF_Object > pFuncObj)
 
- Protected Types inherited from CPDF_Function
using VisitedSet = std::set<RetainPtr<const CPDF_Object>>
 
- Protected Member Functions inherited from CPDF_Function
 CPDF_Function (Type type)
 
bool Init (const CPDF_Object *pObj, VisitedSet *pVisited)
 
- Static Protected Member Functions inherited from CPDF_Function
static std::unique_ptr< CPDF_FunctionLoad (RetainPtr< const CPDF_Object > pFuncObj, VisitedSet *pVisited)
 
- Protected Attributes inherited from CPDF_Function
const Type m_Type
 
uint32_t m_nInputs = 0
 
uint32_t m_nOutputs = 0
 
std::vector< float > m_Domains
 
std::vector< float > m_Ranges
 

Detailed Description

Definition at line 15 of file cpdf_psfunc.h.

Constructor & Destructor Documentation

◆ CPDF_PSFunc()

CPDF_PSFunc::CPDF_PSFunc ( )

Definition at line 12 of file cpdf_psfunc.cpp.

References CPDF_Function::CPDF_Function(), and CPDF_Function::kType4PostScript.

+ Here is the call graph for this function:

◆ ~CPDF_PSFunc()

CPDF_PSFunc::~CPDF_PSFunc ( )
overridedefault

Member Function Documentation

◆ v_Call()

bool CPDF_PSFunc::v_Call ( pdfium::span< const float > inputs,
pdfium::span< float > results ) const
overridevirtual

Implements CPDF_Function.

Definition at line 23 of file cpdf_psfunc.cpp.

◆ v_Init()

bool CPDF_PSFunc::v_Init ( const CPDF_Object * pObj,
VisitedSet * pVisited )
overridevirtual

Implements CPDF_Function.

Definition at line 16 of file cpdf_psfunc.cpp.

References CPDF_Object::AsStream().

+ Here is the call graph for this function:

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