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_psfunc.h>
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_Function > | Load (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_Function > | Load (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 |
Definition at line 15 of file cpdf_psfunc.h.
CPDF_PSFunc::CPDF_PSFunc | ( | ) |
Definition at line 12 of file cpdf_psfunc.cpp.
References CPDF_Function::CPDF_Function(), and CPDF_Function::kType4PostScript.
|
overridedefault |
|
overridevirtual |
Implements CPDF_Function.
Definition at line 23 of file cpdf_psfunc.cpp.
|
overridevirtual |
Implements CPDF_Function.
Definition at line 16 of file cpdf_psfunc.cpp.
References CPDF_Object::AsStream().