/external/pdfium/core/fpdfapi/page/ |
D | cpdf_color.cpp | 31 CPDF_Pattern* pPattern = in ReleaseBuffer() local 33 if (pPattern) { in ReleaseBuffer() 34 CPDF_DocPageData* pPageData = pPattern->document()->GetPageData(); in ReleaseBuffer() 36 pPageData->ReleasePattern(pPattern->pattern_obj()); in ReleaseBuffer() 88 void CPDF_Color::SetValue(CPDF_Pattern* pPattern, in SetValue() argument 107 pvalue->m_pPattern = pPattern; in SetValue() 112 if (pPattern) { in SetValue() 114 pDocPageData = pPattern->document()->GetPageData(); in SetValue() 117 pDocPageData->FindPatternPtr(pPattern->pattern_obj()); in SetValue() 141 CPDF_Pattern* pPattern = pValue->m_pPattern; in Copy() local [all …]
|
D | cpdf_colorstate.cpp | 86 void CPDF_ColorState::SetFillPattern(CPDF_Pattern* pPattern, in SetFillPattern() argument 90 pData->m_FillColor.SetValue(pPattern, pValue, nValues); in SetFillPattern() 95 if (CPDF_TilingPattern* pTilingPattern = pPattern->AsTilingPattern()) { in SetFillPattern() 104 void CPDF_ColorState::SetStrokePattern(CPDF_Pattern* pPattern, in SetStrokePattern() argument 108 pData->m_StrokeColor.SetValue(pPattern, pValue, nValues); in SetStrokePattern() 113 if (CPDF_TilingPattern* pTilingPattern = pPattern->AsTilingPattern()) { in SetStrokePattern()
|
D | cpdf_docpagedata.cpp | 343 std::unique_ptr<CPDF_Pattern> pPattern; in GetPattern() local 345 pPattern = pdfium::MakeUnique<CPDF_ShadingPattern>( in GetPattern() 354 pPattern = pdfium::MakeUnique<CPDF_TilingPattern>(m_pPDFDoc.Get(), in GetPattern() 357 pPattern = pdfium::MakeUnique<CPDF_ShadingPattern>( in GetPattern() 365 ptData->reset(std::move(pPattern)); in GetPattern() 367 ptData = new CPDF_CountedPattern(std::move(pPattern)); in GetPattern() 381 CPDF_CountedPattern* pPattern = it->second; in ReleasePattern() local 382 if (!pPattern->get()) in ReleasePattern() 385 pPattern->RemoveRef(); in ReleasePattern() 386 if (pPattern->use_count() > 1) in ReleasePattern() [all …]
|
D | cpdf_streamcontentparser.cpp | 1066 CPDF_Pattern* pPattern = FindPattern(GetString(0), false); in Handle_SetColorPS_Fill() local 1067 if (pPattern) { in Handle_SetColorPS_Fill() 1068 m_pCurStates->m_ColorState.SetFillPattern(pPattern, values, nvalues); in Handle_SetColorPS_Fill() 1094 CPDF_Pattern* pPattern = FindPattern(GetString(0), false); in Handle_SetColorPS_Stroke() local 1095 if (pPattern) { in Handle_SetColorPS_Stroke() 1096 m_pCurStates->m_ColorState.SetStrokePattern(pPattern, values, nvalues); in Handle_SetColorPS_Stroke() 1105 CPDF_Pattern* pPattern = FindPattern(GetString(0), true); in Handle_ShadeFill() local 1106 if (!pPattern) in Handle_ShadeFill() 1109 CPDF_ShadingPattern* pShading = pPattern->AsShadingPattern(); in Handle_ShadeFill() 1216 CPDF_Object* pPattern = in FindPattern() local [all …]
|
D | cpdf_color.h | 27 void SetValue(CPDF_Pattern* pPattern, const float* comp, uint32_t ncomps);
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 917 CPDF_TilingPattern* pPattern, in DrawPatternBitmap() argument 924 pPattern->colored() ? FXDIB_Argb : FXDIB_8bppMask)) { in DrawPatternBitmap() 931 pPattern->pattern_to_form()->TransformRect(pPattern->bbox()); in DrawPatternBitmap() 940 if (!pPattern->colored()) in DrawPatternBitmap() 947 context.AppendLayer(pPattern->form(), &mtPattern2Bitmap); in DrawPatternBitmap() 2068 void CPDF_RenderStatus::DrawShading(const CPDF_ShadingPattern* pPattern, in DrawShading() argument 2073 const auto& funcs = pPattern->GetFuncs(); in DrawShading() 2074 CPDF_Dictionary* pDict = pPattern->GetShadingObject()->GetDict(); in DrawShading() 2075 CPDF_ColorSpace* pColorSpace = pPattern->GetCS(); in DrawShading() 2080 if (!pPattern->IsShadingObject() && pDict->KeyExist("Background")) { in DrawShading() [all …]
|
D | cpdf_renderstatus.h | 85 void DrawTilingPattern(CPDF_TilingPattern* pPattern, 89 void DrawShadingPattern(CPDF_ShadingPattern* pPattern, 124 void DrawShading(const CPDF_ShadingPattern* pPattern,
|
/external/pdfium/core/fxge/ |
D | ifx_renderdevicedriver.cpp | 79 bool IFX_RenderDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, in DrawShading() argument
|
D | ifx_renderdevicedriver.h | 99 virtual bool DrawShading(const CPDF_ShadingPattern* pPattern,
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.h | 139 bool DrawShading(const CPDF_ShadingPattern* pPattern,
|
D | fx_skia_device.cpp | 1979 bool CFX_SkiaDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, in DrawShading() argument 1985 ShadingType shadingType = pPattern->GetShadingType(); in DrawShading() 1991 int csFamily = pPattern->GetCS()->GetFamily(); in DrawShading() 1995 pPattern->GetFuncs(); in DrawShading() 1999 CPDF_Dictionary* pDict = pPattern->GetShadingObject()->GetDict(); in DrawShading() 2109 CPDF_Stream* pStream = ToStream(pPattern->GetShadingObject()); in DrawShading() 2112 CPDF_MeshStream stream(shadingType, pPattern->GetFuncs(), pStream, in DrawShading() 2113 pPattern->GetCS()); in DrawShading()
|