Home
last modified time | relevance | path

Searched refs:CPDF_ColorSpace (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp108 class CPDF_CalGray final : public CPDF_ColorSpace {
137 class CPDF_CalRGB final : public CPDF_ColorSpace {
170 class CPDF_LabCS final : public CPDF_ColorSpace {
203 class CPDF_ICCBasedCS final : public CPDF_ColorSpace {
232 static RetainPtr<CPDF_ColorSpace> GetStockAlternateProfile(
237 RetainPtr<CPDF_ColorSpace> m_pAlterCS;
243 class CPDF_IndexedCS final : public CPDF_ColorSpace {
260 RetainPtr<CPDF_ColorSpace> m_pBaseCS;
267 class CPDF_SeparationCS final : public CPDF_ColorSpace {
290 RetainPtr<CPDF_ColorSpace> m_pAltCS;
[all …]
Dcpdf_colorspace.h64 class CPDF_ColorSpace : public Retainable, public Observable {
66 static RetainPtr<CPDF_ColorSpace> GetStockCS(int Family);
67 static RetainPtr<CPDF_ColorSpace> ColorspaceFromName(const ByteString& name);
68 static RetainPtr<CPDF_ColorSpace> Load(CPDF_Document* pDoc,
70 static RetainPtr<CPDF_ColorSpace> Load(
119 CPDF_ColorSpace(CPDF_Document* pDoc, int family);
120 ~CPDF_ColorSpace() override;
Dcpdf_colorstate.h19 class CPDF_ColorSpace; variable
45 void SetFillColor(const RetainPtr<CPDF_ColorSpace>& pCS,
47 void SetStrokeColor(const RetainPtr<CPDF_ColorSpace>& pCS,
77 void SetColor(const RetainPtr<CPDF_ColorSpace>& pCS,
Dcpdf_colorstate.cpp73 void CPDF_ColorState::SetFillColor(const RetainPtr<CPDF_ColorSpace>& pCS, in SetFillColor()
79 void CPDF_ColorState::SetStrokeColor(const RetainPtr<CPDF_ColorSpace>& pCS, in SetStrokeColor()
97 void CPDF_ColorState::SetColor(const RetainPtr<CPDF_ColorSpace>& pCS, in SetColor()
107 color->SetColorSpace(CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY)); in SetColor()
154 m_FillColor.SetColorSpace(CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY)); in SetDefault()
155 m_StrokeColor.SetColorSpace(CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY)); in SetDefault()
Dcpdf_color.h16 class CPDF_ColorSpace; variable
31 void SetColorSpace(const RetainPtr<CPDF_ColorSpace>& pCS);
47 RetainPtr<CPDF_ColorSpace> m_pCS;
Dcpdf_docpagedata.h66 RetainPtr<CPDF_ColorSpace> GetColorSpace(const CPDF_Object* pCSObj,
72 RetainPtr<CPDF_ColorSpace> GetColorSpaceGuarded(
92 RetainPtr<CPDF_ColorSpace> GetColorSpaceInternal(
110 std::map<const CPDF_Object*, ObservedPtr<CPDF_ColorSpace>> m_ColorSpaceMap;
Dcpdf_shadingpattern.h34 class CPDF_ColorSpace; variable
60 RetainPtr<CPDF_ColorSpace> GetCS() const { return m_pCS; } in GetCS()
81 RetainPtr<CPDF_ColorSpace> m_pCS;
Dcpdf_meshstream.h34 class CPDF_ColorSpace; variable
43 const RetainPtr<CPDF_ColorSpace>& pCS);
72 RetainPtr<CPDF_ColorSpace> const m_pCS;
Dcpdf_color.cpp31 void CPDF_Color::SetColorSpace(const RetainPtr<CPDF_ColorSpace>& pCS) { in SetColorSpace()
54 SetColorSpace(CPDF_ColorSpace::GetStockCS(PDFCS_PATTERN)); in SetValueForPattern()
76 return m_pCS == CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in IsColorSpaceRGB()
Dcpdf_pagemodule.h13 class CPDF_ColorSpace; variable
24 RetainPtr<CPDF_ColorSpace> GetStockCS(int family);
Dcpdf_patterncs.h17 class CPDF_PatternCS final : public CPDF_ColorSpace {
43 RetainPtr<CPDF_ColorSpace> m_pBaseCS;
Dcpdf_streamcontentparser.cpp80 RetainPtr<CPDF_ColorSpace> pCS = pShading->GetCS(); in GetShadingBBox()
689 RetainPtr<CPDF_ColorSpace> pCS = FindColorSpace(GetString(0)); in Handle_SetColorSpace_Fill()
697 RetainPtr<CPDF_ColorSpace> pCS = FindColorSpace(GetString(0)); in Handle_SetColorSpace_Stroke()
886 RetainPtr<CPDF_ColorSpace> pCS = in Handle_SetGray_Fill()
887 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY); in Handle_SetGray_Fill()
892 RetainPtr<CPDF_ColorSpace> pCS = in Handle_SetGray_Stroke()
893 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY); in Handle_SetGray_Stroke()
937 RetainPtr<CPDF_ColorSpace> pCS = in Handle_SetCMYKColor_Fill()
938 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICECMYK); in Handle_SetCMYKColor_Fill()
946 RetainPtr<CPDF_ColorSpace> pCS = in Handle_SetCMYKColor_Stroke()
[all …]
Dcpdf_docpagedata.cpp238 RetainPtr<CPDF_ColorSpace> CPDF_DocPageData::GetColorSpace( in GetColorSpace()
245 RetainPtr<CPDF_ColorSpace> CPDF_DocPageData::GetColorSpaceGuarded( in GetColorSpaceGuarded()
253 RetainPtr<CPDF_ColorSpace> CPDF_DocPageData::GetColorSpaceInternal( in GetColorSpaceInternal()
269 RetainPtr<CPDF_ColorSpace> pCS = CPDF_ColorSpace::ColorspaceFromName(name); in GetColorSpaceInternal()
316 RetainPtr<CPDF_ColorSpace> pCS = in GetColorSpaceInternal()
317 CPDF_ColorSpace::Load(GetDocument(), pArray, pVisited); in GetColorSpaceInternal()
Dcpdf_dib.h62 RetainPtr<CPDF_ColorSpace> GetColorSpace() const { return m_pColorSpace; } in GetColorSpace()
133 RetainPtr<CPDF_ColorSpace> m_pColorSpace;
Dcpdf_devicecs.h15 class CPDF_DeviceCS final : public CPDF_ColorSpace {
Dcpdf_streamcontentparser.h23 class CPDF_ColorSpace; variable
120 RetainPtr<CPDF_ColorSpace> FindColorSpace(const ByteString& name);
Dcpdf_patterncs.cpp14 : CPDF_ColorSpace(pDoc, PDFCS_PATTERN) {} in CPDF_PatternCS()
Dcpdf_dib.cpp93 CPDF_ColorSpace* pCS) { in ColorSpaceOptionFromColorSpace()
109 const CPDF_ColorSpace* pdf_colorspace) { in GetJpxDecodeAction()
116 if (pdf_colorspace == CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB)) in GetJpxDecodeAction()
580 uint32_t dwMinComps = CPDF_ColorSpace::ComponentsForFamily(m_Family); in CreateDCTDecoder()
591 if (!CPDF_ColorSpace::IsValidIccComponents(colorspace_comps) || in CreateDCTDecoder()
592 !CPDF_ColorSpace::IsValidIccComponents(m_nComponents) || in CreateDCTDecoder()
633 RetainPtr<CPDF_ColorSpace> original_colorspace = m_pColorSpace; in LoadJpxBitmap()
649 m_pColorSpace = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICECMYK); in LoadJpxBitmap()
813 m_pColorSpace == CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY)) { in LoadPalette()
Dcpdf_pagemodule.cpp56 RetainPtr<CPDF_ColorSpace> CPDF_PageModule::GetStockCS(int family) { in GetStockCS()
Dcpdf_devicecs.cpp31 CPDF_DeviceCS::CPDF_DeviceCS(int family) : CPDF_ColorSpace(nullptr, family) { in CPDF_DeviceCS()
Dcpdf_meshstream.cpp101 const RetainPtr<CPDF_ColorSpace>& pCS) in CPDF_MeshStream()
Dcpdf_streamparser.cpp159 RetainPtr<CPDF_ColorSpace> pCS = in ReadInlineStream()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp81 RetainPtr<CPDF_ColorSpace> pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in TEST_F()
192 RetainPtr<CPDF_ColorSpace> pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in TEST_F()
258 RetainPtr<CPDF_ColorSpace> pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB); in TEST_F()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp48 const RetainPtr<CPDF_ColorSpace>& pCS) { in GetValidatedOutputsCount()
57 const RetainPtr<CPDF_ColorSpace>& pCS, in GetShadingSteps()
90 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawAxialShading()
158 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawRadialShading()
257 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawFuncShading()
417 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawFreeGouraudShading()
458 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawLatticeGouraudShading()
775 const RetainPtr<CPDF_ColorSpace>& pCS, in DrawCoonPatchMeshes()
868 RetainPtr<CPDF_ColorSpace> pColorSpace = pPattern->GetCS(); in Draw()
/external/pdfium/fpdfsdk/
Dfpdf_editpage.cpp691 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB), rgb); in FPDFPageObj_SetFillColor()
748 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB), rgb); in FPDFPageObj_SetStrokeColor()

12