1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ 8 #define CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ 9 10 #include "core/fpdfapi/page/cpdf_function.h" 11 12 class CPDF_ExpIntFunc : public CPDF_Function { 13 public: 14 CPDF_ExpIntFunc(); 15 ~CPDF_ExpIntFunc() override; 16 17 // CPDF_Function 18 bool v_Init(CPDF_Object* pObj) override; 19 bool v_Call(float* inputs, float* results) const override; 20 21 uint32_t m_nOrigOutputs; 22 float m_Exponent; 23 float* m_pBeginValues; 24 float* m_pEndValues; 25 }; 26 27 #endif // CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ 28