Home
last modified time | relevance | path

Searched refs:pPattern (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_color.cpp32 CPDF_Pattern* pPattern = in ReleaseBuffer() local
34 if (pPattern && pPattern->document()) { in ReleaseBuffer()
35 CPDF_DocPageData* pPageData = pPattern->document()->GetPageData(); in ReleaseBuffer()
37 pPageData->ReleasePattern(pPattern->pattern_obj()); in ReleaseBuffer()
77 void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) { in SetValue() argument
95 pvalue->m_pPattern = pPattern; in SetValue()
100 if (pPattern && pPattern->document()) { in SetValue()
102 pDocPageData = pPattern->document()->GetPageData(); in SetValue()
105 pDocPageData->FindPatternPtr(pPattern->pattern_obj()); in SetValue()
128 CPDF_Pattern* pPattern = pValue->m_pPattern; in Copy() local
[all …]
Dcpdf_docpagedata.cpp352 std::unique_ptr<CPDF_Pattern> pPattern; in GetPattern() local
354 pPattern = pdfium::MakeUnique<CPDF_ShadingPattern>(m_pPDFDoc, pPatternObj, in GetPattern()
361 pPattern = pdfium::MakeUnique<CPDF_TilingPattern>(m_pPDFDoc, in GetPattern()
364 pPattern = pdfium::MakeUnique<CPDF_ShadingPattern>( in GetPattern()
369 if (!pPattern) in GetPattern()
373 ptData->reset(std::move(pPattern)); in GetPattern()
375 ptData = new CPDF_CountedPattern(std::move(pPattern)); in GetPattern()
389 CPDF_CountedPattern* pPattern = it->second; in ReleasePattern() local
390 if (!pPattern->get()) in ReleasePattern()
393 pPattern->RemoveRef(); in ReleasePattern()
[all …]
Dcpdf_colorstate.cpp86 void CPDF_ColorState::SetFillPattern(CPDF_Pattern* pPattern, in SetFillPattern() argument
90 pData->m_FillColor.SetValue(pPattern, pValue, nValues); in SetFillPattern()
93 if (CPDF_TilingPattern* pTilingPattern = pPattern->AsTilingPattern()) { in SetFillPattern()
102 void CPDF_ColorState::SetStrokePattern(CPDF_Pattern* pPattern, in SetStrokePattern() argument
106 pData->m_StrokeColor.SetValue(pPattern, pValue, nValues); in SetStrokePattern()
109 if (CPDF_TilingPattern* pTilingPattern = pPattern->AsTilingPattern()) { in SetStrokePattern()
Dcpdf_streamcontentparser.cpp1071 CPDF_Pattern* pPattern = FindPattern(GetString(0), false); in Handle_SetColorPS_Fill() local
1072 if (pPattern) { in Handle_SetColorPS_Fill()
1073 m_pCurStates->m_ColorState.SetFillPattern(pPattern, values, nvalues); in Handle_SetColorPS_Fill()
1099 CPDF_Pattern* pPattern = FindPattern(GetString(0), false); in Handle_SetColorPS_Stroke() local
1100 if (pPattern) { in Handle_SetColorPS_Stroke()
1101 m_pCurStates->m_ColorState.SetStrokePattern(pPattern, values, nvalues); in Handle_SetColorPS_Stroke()
1110 CPDF_Pattern* pPattern = FindPattern(GetString(0), true); in Handle_ShadeFill() local
1111 if (!pPattern) in Handle_ShadeFill()
1114 CPDF_ShadingPattern* pShading = pPattern->AsShadingPattern(); in Handle_ShadeFill()
1223 CPDF_Object* pPattern = in FindPattern() local
[all …]
Dcpdf_color.h27 void SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comp, int ncomps);
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp895 CPDF_TilingPattern* pPattern, in DrawPatternBitmap() argument
902 pPattern->colored() ? FXDIB_Argb : FXDIB_8bppMask)) { in DrawPatternBitmap()
908 CFX_FloatRect cell_bbox = pPattern->bbox(); in DrawPatternBitmap()
909 pPattern->pattern_to_form()->TransformRect(cell_bbox); in DrawPatternBitmap()
918 if (!pPattern->colored()) in DrawPatternBitmap()
924 context.AppendLayer(pPattern->form(), &mtPattern2Bitmap); in DrawPatternBitmap()
2026 void CPDF_RenderStatus::DrawShading(CPDF_ShadingPattern* pPattern, in DrawShading() argument
2031 const auto& funcs = pPattern->GetFuncs(); in DrawShading()
2032 CPDF_Dictionary* pDict = pPattern->GetShadingObject()->GetDict(); in DrawShading()
2033 CPDF_ColorSpace* pColorSpace = pPattern->GetCS(); in DrawShading()
[all …]
Dcpdf_renderstatus.h96 void DrawTilingPattern(CPDF_TilingPattern* pPattern,
100 void DrawShadingPattern(CPDF_ShadingPattern* pPattern,
117 void DrawShading(CPDF_ShadingPattern* pPattern,
/external/pdfium/core/fxge/
Difx_renderdevicedriver.cpp86 bool IFX_RenderDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, in DrawShading() argument
Difx_renderdevicedriver.h95 virtual bool DrawShading(const CPDF_ShadingPattern* pPattern,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h140 bool DrawShading(const CPDF_ShadingPattern* pPattern,
Dfx_skia_device.cpp1601 bool CFX_SkiaDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, in DrawShading() argument
1607 ShadingType shadingType = pPattern->GetShadingType(); in DrawShading()
1613 int csFamily = pPattern->GetCS()->GetFamily(); in DrawShading()
1617 pPattern->GetFuncs(); in DrawShading()
1621 CPDF_Dictionary* pDict = pPattern->GetShadingObject()->GetDict(); in DrawShading()
1731 CPDF_Stream* pStream = ToStream(pPattern->GetShadingObject()); in DrawShading()
1734 CPDF_MeshStream stream(shadingType, pPattern->GetFuncs(), pStream, in DrawShading()
1735 pPattern->GetCS()); in DrawShading()