diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_patterncs.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_patterncs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_patterncs.h b/core/fpdfapi/page/cpdf_patterncs.h index 288c6f6d96..d1d0d48c1e 100644 --- a/core/fpdfapi/page/cpdf_patterncs.h +++ b/core/fpdfapi/page/cpdf_patterncs.h @@ -18,10 +18,13 @@ class CPDF_PatternCS : public CPDF_ColorSpace { explicit CPDF_PatternCS(CPDF_Document* pDoc); ~CPDF_PatternCS() override; + // Called for the stock pattern, since it is initialized via Load(). + void InitializeStockPattern(); + // CPDF_ColorSpace: - bool v_Load(CPDF_Document* pDoc, - CPDF_Array* pArray, - std::set<CPDF_Object*>* pVisited) override; + uint32_t v_Load(CPDF_Document* pDoc, + CPDF_Array* pArray, + std::set<CPDF_Object*>* pVisited) override; bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; private: |