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.cpp460 CPDF_GeneralStateData* pGeneralState = m_GeneralState.GetModify(); in ProcessExtGS() local
513 pGeneralState->m_pTR = in ProcessExtGS()
521 pGeneralState->SetBlendMode(mode); in ProcessExtGS()
522 if (pGeneralState->m_BlendType > FXDIB_BLEND_MULTIPLY) { in ProcessExtGS()
529 pGeneralState->m_pSoftMask = pObject; in ProcessExtGS()
530 FXSYS_memcpy(pGeneralState->m_SMaskMatrix, in ProcessExtGS()
533 pGeneralState->m_pSoftMask = NULL; in ProcessExtGS()
537 pGeneralState->m_StrokeAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
540 pGeneralState->m_FillAlpha = PDF_ClipFloat(pObject->GetNumber()); in ProcessExtGS()
543 pGeneralState->m_StrokeOP = pObject->GetInteger(); in ProcessExtGS()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp205 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in FPDFPageObj_HasTransparency() local
207 pGeneralState ? pGeneralState->m_BlendType : FXDIB_BLEND_NORMAL; in FPDFPageObj_HasTransparency()
212 pGeneralState ? ToDictionary(pGeneralState->m_pSoftMask) : NULL; in FPDFPageObj_HasTransparency()
216 if (pGeneralState && pGeneralState->m_FillAlpha != 1.0f) in FPDFPageObj_HasTransparency()
220 if (pGeneralState && pGeneralState->m_StrokeAlpha != 1.0f) in FPDFPageObj_HasTransparency()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp348 const CPDF_GeneralStateData* pGeneralState = m_pImageObject->m_GeneralState; in StartRenderDIBSource() local
349 if (pGeneralState) { in StartRenderDIBSource()
350 m_BitmapAlpha = FXSYS_round(pGeneralState->m_FillAlpha * 255); in StartRenderDIBSource()
357 if (pGeneralState && pGeneralState->m_pTR) { in StartRenderDIBSource()
358 if (!pGeneralState->m_pTransferFunc) { in StartRenderDIBSource()
359 ((CPDF_GeneralStateData*)pGeneralState)->m_pTransferFunc = in StartRenderDIBSource()
360 m_pRenderStatus->GetTransferFunc(pGeneralState->m_pTR); in StartRenderDIBSource()
362 if (pGeneralState->m_pTransferFunc && in StartRenderDIBSource()
363 !pGeneralState->m_pTransferFunc->m_bIdentity) { in StartRenderDIBSource()
365 pGeneralState->m_pTransferFunc->TranslateImage(m_Loader.m_pBitmap, in StartRenderDIBSource()
[all …]
Dfpdf_render.cpp719 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in ProcessTransparency() local
721 pGeneralState ? pGeneralState->m_BlendType : FXDIB_BLEND_NORMAL; in ProcessTransparency()
726 pGeneralState ? ToDictionary(pGeneralState->m_pSoftMask) : NULL; in ProcessTransparency()
757 pPageObj->m_Type == PDFPAGE_IMAGE && pGeneralState && in ProcessTransparency()
758 pGeneralState->m_FillOP && pGeneralState->m_StrokeOP) { in ProcessTransparency()
861 FXSYS_memcpy(&smask_matrix, pGeneralState->m_SMaskMatrix, in ProcessTransparency()