Home
last modified time | relevance | path

Searched refs:m_pCS (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_color.cpp22 return m_pCS && IsPatternInternal(); in IsPattern()
44 if (!m_pCS) in ReleaseColorSpace()
47 CPDF_Document* pDoc = m_pCS->GetDocument(); in ReleaseColorSpace()
53 pPageData->ReleaseColorSpace(m_pCS->GetArray()); in ReleaseColorSpace()
55 m_pCS = nullptr; in ReleaseColorSpace()
59 return m_pCS->GetFamily() == PDFCS_PATTERN; in IsPatternInternal()
63 if (m_pCS == pCS) { in SetColorSpace()
68 m_pCS = pCS; in SetColorSpace()
74 m_pCS = pCS; in SetColorSpace()
85 memcpy(m_pBuffer, comps, m_pCS->CountComponents() * sizeof(float)); in SetValue()
[all …]
Dcpdf_shadingpattern.cpp38 m_pCS(nullptr), in CPDF_ShadingPattern()
52 m_pCS.Release(); // Give up unowned reference first. in ~CPDF_ShadingPattern()
91 m_pCS = pDocPageData->GetColorSpace(pCSObj, nullptr); in Load()
95 if (!m_pCS || m_pCS->GetFamily() == PDFCS_PATTERN) in Load()
98 m_pCountedCS = pDocPageData->FindColorSpacePtr(m_pCS->GetArray()); in Load()
118 if (m_pCS->GetFamily() == PDFCS_INDEXED) in Validate()
126 if (!m_pFunctions.empty() && m_pCS->GetFamily() == PDFCS_INDEXED) in Validate()
136 uint32_t nNumColorSpaceComponents = m_pCS->CountComponents(); in Validate()
Dcpdf_color.h31 const CPDF_ColorSpace* GetColorSpace() const { return m_pCS; } in GetColorSpace()
42 CPDF_ColorSpace* m_pCS = nullptr; variable
Dcpdf_meshstream.cpp100 m_pCS(pCS), in CPDF_MeshStream()
136 uint32_t nComponents = m_pCS->CountComponents(); in Load()
210 m_pCS->GetRGB(color_value, &r, &g, &b); in ReadColor()
222 m_pCS->GetRGB(result, &r, &g, &b); in ReadColor()
Dcpdf_shadingpattern.h58 CPDF_ColorSpace* GetCS() const { return m_pCS.Get(); } in GetCS()
76 UnownedPtr<CPDF_ColorSpace> m_pCS; variable
Dcpdf_meshstream.h70 UnownedPtr<CPDF_ColorSpace> const m_pCS; variable