Home
last modified time | relevance | path

Searched refs:pGeneralState (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp482 CPDF_GeneralStateData* pGeneralState = m_GeneralState.GetModify(); in ProcessExtGS() local
535 pGeneralState->m_pTR = pObject; in ProcessExtGS()
537 pGeneralState->m_pTR = NULL; in ProcessExtGS()
547 pGeneralState->SetBlendMode(mode); in ProcessExtGS()
548 if (pGeneralState->m_BlendType > FXDIB_BLEND_MULTIPLY) { in ProcessExtGS()
555 pGeneralState->m_pSoftMask = pObject; in ProcessExtGS()
556 … FXSYS_memcpy32(pGeneralState->m_SMaskMatrix, &pParser->m_pCurStates->m_CTM, sizeof(CPDF_Matrix)); in ProcessExtGS()
558 pGeneralState->m_pSoftMask = NULL; in ProcessExtGS()
562 pGeneralState->m_StrokeAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
565 pGeneralState->m_FillAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp229 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in FPDFPageObj_HasTransparency() local
230 int blend_type = pGeneralState ? pGeneralState->m_BlendType : FXDIB_BLEND_NORMAL; in FPDFPageObj_HasTransparency()
233 CPDF_Dictionary* pSMaskDict = pGeneralState ? (CPDF_Dictionary*)pGeneralState->m_pSoftMask : NULL; in FPDFPageObj_HasTransparency()
236 if(pGeneralState && pGeneralState->m_FillAlpha != 1.0f) in FPDFPageObj_HasTransparency()
241 if(pGeneralState && pGeneralState->m_StrokeAlpha != 1.0f) in FPDFPageObj_HasTransparency()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp343 const CPDF_GeneralStateData* pGeneralState = m_pImageObject->m_GeneralState; in StartRenderDIBSource() local
344 if (pGeneralState) { in StartRenderDIBSource()
345 m_BitmapAlpha = FXSYS_round(pGeneralState->m_FillAlpha * 255); in StartRenderDIBSource()
351 if (pGeneralState && pGeneralState->m_pTR) { in StartRenderDIBSource()
352 if (!pGeneralState->m_pTransferFunc) { in StartRenderDIBSource()
353 …((CPDF_GeneralStateData*)pGeneralState)->m_pTransferFunc = m_pRenderStatus->GetTransferFunc(pGener… in StartRenderDIBSource()
355 if (pGeneralState->m_pTransferFunc && !pGeneralState->m_pTransferFunc->m_bIdentity) { in StartRenderDIBSource()
356 …m_pDIBSource = m_Loader.m_pBitmap = pGeneralState->m_pTransferFunc->TranslateImage(m_Loader.m_pBit… in StartRenderDIBSource()
417 if (m_BitmapAlpha == 255 && pGeneralState && pGeneralState->m_FillOP && in StartRenderDIBSource()
418pGeneralState->m_OPMode == 0 && pGeneralState->m_BlendType == FXDIB_BLEND_NORMAL && pGeneralState-… in StartRenderDIBSource()
Dfpdf_render.cpp719 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in ProcessTransparency() local
720 int blend_type = pGeneralState ? pGeneralState->m_BlendType : FXDIB_BLEND_NORMAL; in ProcessTransparency()
724 … CPDF_Dictionary* pSMaskDict = pGeneralState ? (CPDF_Dictionary*)pGeneralState->m_pSoftMask : NULL; in ProcessTransparency()
752 …RPRINT) && pPageObj->m_Type == PDFPAGE_IMAGE && pGeneralState && pGeneralState->m_FillOP && pGener… in ProcessTransparency()
846 FXSYS_memcpy32(&smask_matrix, pGeneralState->m_SMaskMatrix, sizeof smask_matrix); in ProcessTransparency()