25 RetainPtr<
const CPDF_Dictionary> pDict = pObj->GetDict();
29 RetainPtr<
const CPDF_Number> pExponent = pDict->GetNumberFor(
"N");
33 m_Exponent = pExponent->GetNumber();
35 RetainPtr<
const CPDF_Array> pArray0 = pDict->GetArrayFor(
"C0");
41 RetainPtr<
const CPDF_Array> pArray1 = pDict->GetArrayFor(
"C1");
42 m_BeginValues = DataVector<
float>(Fx2DSizeOrDie(m_nOutputs, 2));
43 m_EndValues = DataVector<
float>(m_BeginValues.size());
45 m_BeginValues[i] = pArray0 ? pArray0->GetFloatAt(i) : 0.0f;
46 m_EndValues[i] = pArray1 ? pArray1->GetFloatAt(i) : 1.0f;
49 FX_SAFE_UINT32 nOutputs = m_nOutputs;
51 if (!nOutputs.IsValid())