/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_image.cpp | 141 CPDF_Array* pCS = new CPDF_Array; in SetImage() local 142 pCS->AddName("Indexed"); in SetImage() 143 pCS->AddName("DeviceRGB"); in SetImage() 144 pCS->AddInteger(1); in SetImage() 154 pCS->Add(new CPDF_String(ct, TRUE)); in SetImage() 155 pDict->SetAt("ColorSpace", pCS); in SetImage() 167 CPDF_Array* pCS = new CPDF_Array; in SetImage() local 168 m_pDocument->AddIndirectObject(pCS); in SetImage() 169 pCS->AddName("Indexed"); in SetImage() 170 pCS->AddName("DeviceRGB"); in SetImage() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_pattern.cpp | 107 CPDF_ColorSpace* pCS = m_pCountedCS ? m_pCountedCS->get() : NULL; in ~CPDF_ShadingPattern() local 108 if (pCS && m_pDocument) in ~CPDF_ShadingPattern() 109 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_ShadingPattern() 160 CPDF_ColorSpace* pCS) { in Load() argument 165 m_pCS = pCS; in Load() 173 int nComps = pCS->CountComponents(); in Load() 265 CPDF_ColorSpace* pCS) { in GetShadingBBox() argument 266 if (!pStream || !pStream->IsStream() || !pFuncs || !pCS) in GetShadingBBox() 270 if (!stream.Load(pStream, pFuncs, nFuncs, pCS)) in GetShadingBBox()
|
D | fpdf_page_colors.cpp | 890 CPDF_ColorSpace* pCS = m_pCountedBaseCS ? m_pCountedBaseCS->get() : NULL; in ~CPDF_IndexedCS() local 891 if (pCS && m_pDocument) { in ~CPDF_IndexedCS() 892 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_IndexedCS() 975 CPDF_ColorSpace* pCS = m_pCountedBaseCS ? m_pCountedBaseCS->get() : NULL; in ~CPDF_PatternCS() local 976 if (pCS && m_pDocument) { in ~CPDF_PatternCS() 977 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_PatternCS() 1249 CPDF_ColorSpace* pCS = NULL; in Load() local 1252 pCS = new CPDF_CalGray(pDoc); in Load() 1254 pCS = new CPDF_CalRGB(pDoc); in Load() 1256 pCS = new CPDF_LabCS(pDoc); in Load() [all …]
|
D | fpdf_page_doc.cpp | 318 CPDF_ColorSpace* pCS = _CSFromName(name); in GetColorSpace() local 319 if (!pCS && pResources) { in GetColorSpace() 326 if (!pCS || !pResources) in GetColorSpace() 327 return pCS; in GetColorSpace() 331 return pCS; in GetColorSpace() 334 switch (pCS->GetFamily()) { in GetColorSpace() 345 return pDefaultCS ? GetColorSpace(pDefaultCS, nullptr) : pCS; in GetColorSpace() 363 CPDF_ColorSpace* pCS = CPDF_ColorSpace::Load(m_pPDFDoc, pArray); in GetColorSpace() local 364 if (!pCS) in GetColorSpace() 368 csData = new CPDF_CountedColorSpace(pCS); in GetColorSpace() [all …]
|
D | fpdf_page_parser.cpp | 583 CPDF_ColorSpace* pCS = FindColorSpace(csname); in Handle_SetColorSpace_Fill() local 584 if (!pCS) { in Handle_SetColorSpace_Fill() 587 m_pCurStates->m_ColorState.GetModify()->m_FillColor.SetColorSpace(pCS); in Handle_SetColorSpace_Fill() 594 CPDF_ColorSpace* pCS = FindColorSpace(csname); in Handle_SetColorSpace_Stroke() local 595 if (!pCS) { in Handle_SetColorSpace_Stroke() 598 m_pCurStates->m_ColorState.GetModify()->m_StrokeColor.SetColorSpace(pCS); in Handle_SetColorSpace_Stroke() 803 CPDF_ColorSpace* pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY); in Handle_SetGray_Fill() local 804 m_pCurStates->m_ColorState.SetFillColor(pCS, &value, 1); in Handle_SetGray_Fill() 808 CPDF_ColorSpace* pCS = CPDF_ColorSpace::GetStockCS(PDFCS_DEVICEGRAY); in Handle_SetGray_Stroke() local 809 m_pCurStates->m_ColorState.SetStrokeColor(pCS, &value, 1); in Handle_SetGray_Stroke() [all …]
|
D | fpdf_page_graph_state.cpp | 215 void CPDF_ColorState::SetFillColor(CPDF_ColorSpace* pCS, in SetFillColor() argument 219 SetColor(pData->m_FillColor, pData->m_FillRGB, pCS, pValue, nValues); in SetFillColor() 221 void CPDF_ColorState::SetStrokeColor(CPDF_ColorSpace* pCS, in SetStrokeColor() argument 225 SetColor(pData->m_StrokeColor, pData->m_StrokeRGB, pCS, pValue, nValues); in SetStrokeColor() 229 CPDF_ColorSpace* pCS, in SetColor() argument 232 if (pCS) { in SetColor() 233 color.SetColorSpace(pCS); in SetColor()
|
D | fpdf_page_parser_old.cpp | 356 CPDF_ColorSpace* pCS = pDoc->LoadColorSpace(pCSObj); in ReadInlineStream() local 357 if (!pCS) { in ReadInlineStream() 360 nComponents = pCS->CountComponents(); in ReadInlineStream()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_pattern.cpp | 20 CPDF_ColorSpace* pCS, in DrawAxialShading() argument 57 if (pCS->CountComponents() > total_results) { in DrawAxialShading() 58 total_results = pCS->CountComponents(); in DrawAxialShading() 76 pCS->GetRGB(pResults, R, G, B); in DrawAxialShading() 111 CPDF_ColorSpace* pCS, in DrawRadialShading() argument 144 if (pCS->CountComponents() > total_results) { in DrawRadialShading() 145 total_results = pCS->CountComponents(); in DrawRadialShading() 163 pCS->GetRGB(pResults, R, G, B); in DrawRadialShading() 249 CPDF_ColorSpace* pCS, in DrawFuncShading() argument 274 if (pCS->CountComponents() > total_results) { in DrawFuncShading() [all …]
|
D | fpdf_render_image.cpp | 902 CPDF_ColorSpace* pCS = NULL; in LoadSMask() local 912 pCS = m_pContext->m_pDocument->LoadColorSpace(pCSObj); in LoadSMask() 913 if (pCS) { in LoadSMask() 916 if (pCS->CountComponents() > static_cast<int32_t>(comps)) { in LoadSMask() 917 comps = (FX_DWORD)pCS->CountComponents(); in LoadSMask() 931 pCS->GetRGB(pFloats, R, G, B); in LoadSMask() 950 pCS ? pCS->GetFamily() : 0, bLuminosity); in LoadSMask()
|
D | fpdf_render_loadimage.cpp | 189 CPDF_ColorSpace* pCS = m_pColorSpace; in ~CPDF_DIBSource() local 190 if (pCS && m_pDocument) { in ~CPDF_DIBSource() 191 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_DIBSource()
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_pageobj.h | 138 void SetFillColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues); 140 void SetStrokeColor(CPDF_ColorSpace* pCS, FX_FLOAT* pValue, int nValues); 149 CPDF_ColorSpace* pCS,
|
D | fpdf_resource.h | 618 void SetColorSpace(CPDF_ColorSpace* pCS); 735 CPDF_ColorSpace* pCS);
|
/external/chromium-trace/catapult/tracing/test_data/ |
D | ddms_calculator_start.trace | 37278 ���pCS r� 70882 ���pCS��� 332717 �[�pCS-G�
|