Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp770 void CPDF_RenderStatus::DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, in DrawShading() argument
773 CPDF_Function** pFuncs = pPattern->m_pFunctions; in DrawShading()
774 int nFuncs = pPattern->m_nFuncs; in DrawShading()
775 CPDF_Dictionary* pDict = pPattern->m_pShadingObj->GetDict(); in DrawShading()
776 CPDF_ColorSpace* pColorSpace = pPattern->m_pCS; in DrawShading()
781 …if (!pPattern->m_bShadingObj && pPattern->m_pShadingObj->GetDict()->KeyExist(FX_BSTRC("Background"… in DrawShading()
782 … CPDF_Array* pBackColor = pPattern->m_pShadingObj->GetDict()->GetArray(FX_BSTRC("Background")); in DrawShading()
808 switch (pPattern->m_ShadingType) { in DrawShading()
819 … _DrawFreeGouraudShading(pBitmap, &FinalMatrix, (CPDF_Stream*)pPattern->m_pShadingObj, in DrawShading()
824 … _DrawLatticeGouraudShading(pBitmap, &FinalMatrix, (CPDF_Stream*)pPattern->m_pShadingObj, in DrawShading()
[all …]
Drender_int.h126 …void DrawTilingPattern(CPDF_TilingPattern* pPattern, CPDF_PageObject* pPageObj, const CFX_Affine…
127 …void DrawShadingPattern(CPDF_ShadingPattern* pPattern, CPDF_PageObject* pPageObj, const CFX_Affi…
138 void DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, FX_RECT& clip_rect,
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp498 CPDF_Pattern* pPattern = NULL; in GetPattern() local
500 pPattern = new CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, bShading, matrix); in GetPattern()
506 pPattern = new CPDF_TilingPattern(m_pPDFDoc, pPatternObj, matrix); in GetPattern()
508 pPattern = new CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, FALSE, matrix); in GetPattern()
512 if (!pPattern) { in GetPattern()
519 ptData->m_Obj = pPattern; in GetPattern()
521 return pPattern; in GetPattern()
Dfpdf_page_graph_state.cpp255 void CPDF_ColorState::SetFillPattern(CPDF_Pattern* pPattern, FX_FLOAT* pValue, int nValues) in SetFillPattern() argument
258 pData->m_FillColor.SetValue(pPattern, pValue, nValues); in SetFillPattern()
261 if (pPattern->m_PatternType == 1 && ((CPDF_TilingPattern*)pPattern)->m_bColored && !ret) { in SetFillPattern()
267 void CPDF_ColorState::SetStrokePattern(CPDF_Pattern* pPattern, FX_FLOAT* pValue, int nValues) in SetStrokePattern() argument
270 pData->m_StrokeColor.SetValue(pPattern, pValue, nValues); in SetStrokePattern()
273 if (pPattern->m_PatternType == 1 && ((CPDF_TilingPattern*)pPattern)->m_bColored && !ret) { in SetStrokePattern()
Dfpdf_page_parser.cpp1067 CPDF_Pattern* pPattern = FindPattern(GetString(0), FALSE); in Handle_SetColorPS_Fill() local
1068 if (pPattern) { in Handle_SetColorPS_Fill()
1069 m_pCurStates->m_ColorState.SetFillPattern(pPattern, values, nvalues); in Handle_SetColorPS_Fill()
1100 CPDF_Pattern* pPattern = FindPattern(GetString(0), FALSE); in Handle_SetColorPS_Stroke() local
1101 if (pPattern) { in Handle_SetColorPS_Stroke()
1102 m_pCurStates->m_ColorState.SetStrokePattern(pPattern, values, nvalues); in Handle_SetColorPS_Stroke()
1118 CPDF_Pattern* pPattern = FindPattern(GetString(0), TRUE); in Handle_ShadeFill() local
1119 if (pPattern == NULL) { in Handle_ShadeFill()
1122 if (pPattern->m_PatternType != PATTERN_SHADING) { in Handle_ShadeFill()
1125 CPDF_ShadingPattern* pShading = (CPDF_ShadingPattern*)pPattern; in Handle_ShadeFill()
[all …]
Dfpdf_page_colors.cpp1312 … CPDF_Pattern* pPattern = pvalue->m_pCountedPattern ? pvalue->m_pCountedPattern->m_Obj : NULL; in ReleaseBuffer() local
1313 if (pPattern && pPattern->m_pDocument) { in ReleaseBuffer()
1314 CPDF_DocPageData *pPageData = pPattern->m_pDocument->GetPageData(); in ReleaseBuffer()
1316 pPageData->ReleasePattern(pPattern->m_pPatternObj); in ReleaseBuffer()
1357 void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) in SetValue() argument
1378 pvalue->m_pPattern = pPattern; in SetValue()
1383 if (pPattern && pPattern->m_pDocument) in SetValue()
1386 pDocPageData = pPattern->m_pDocument->GetPageData(); in SetValue()
1388 pvalue->m_pCountedPattern = pDocPageData->FindPatternPtr(pPattern->m_pPatternObj); in SetValue()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h700 void SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comp, int ncomps);