Home
last modified time | relevance | path

Searched refs:m_GeneralState (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp85 m_GeneralState.SetRenderIntent(pObject->GetString()); in ProcessExtGS()
102 m_GeneralState.SetTR(pObject && !pObject->IsName() ? pObject : nullptr); in ProcessExtGS()
106 m_GeneralState.SetBlendMode(pArray ? pArray->GetStringAt(0) in ProcessExtGS()
108 if (m_GeneralState.GetBlendType() > BlendMode::kMultiply) in ProcessExtGS()
114 m_GeneralState.SetSoftMask(pObject); in ProcessExtGS()
115 m_GeneralState.SetSMaskMatrix(pParser->GetCurStates()->m_CTM); in ProcessExtGS()
117 m_GeneralState.SetSoftMask(nullptr); in ProcessExtGS()
121 m_GeneralState.SetStrokeAlpha( in ProcessExtGS()
125 m_GeneralState.SetFillAlpha( in ProcessExtGS()
129 m_GeneralState.SetStrokeOP(!!pObject->GetInteger()); in ProcessExtGS()
[all …]
Dcpdf_graphicstates.cpp23 m_GeneralState = src.m_GeneralState; in CopyStates()
Dcpdf_tilingpattern.cpp49 allStates.m_GeneralState = pPageObj->m_GeneralState; in Load()
Dcpdf_pageobject.cpp88 if (!m_GeneralState.HasRef()) in TransformGeneralState()
90 m_GeneralState.GetMutableMatrix()->Concat(matrix); in TransformGeneralState()
Dcpdf_graphicstates.h28 CPDF_GeneralState m_GeneralState; variable
Dcpdf_streamcontentparser.cpp275 m_pCurStates->m_GeneralState.Emplace(); in CPDF_StreamContentParser()
416 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates()
768 status.m_GeneralState = m_pCurStates->m_GeneralState; in AddForm()
918 m_pCurStates->m_GeneralState.SetFlatness(GetNumber(0)); in Handle_SetFlat()
Dcpdf_contentparser.cpp94 CPDF_GeneralState* pState = &m_pParser->GetCurStates()->m_GeneralState; in CPDF_ContentParser()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp432 if (pPageObj->m_GeneralState.GetStrokeAdjust()) in ProcessPath()
466 static_cast<int32_t>((pObj->m_GeneralState.GetFillAlpha() * 255)); in GetFillArgbInternal()
467 if (pObj->m_GeneralState.GetTR()) { in GetFillArgbInternal()
468 if (!pObj->m_GeneralState.GetTransferFunc()) { in GetFillArgbInternal()
469 pObj->m_GeneralState.SetTransferFunc( in GetFillArgbInternal()
470 GetTransferFunc(pObj->m_GeneralState.GetTR())); in GetFillArgbInternal()
472 if (pObj->m_GeneralState.GetTransferFunc()) { in GetFillArgbInternal()
474 pObj->m_GeneralState.GetTransferFunc()->TranslateColor(colorref); in GetFillArgbInternal()
492 int32_t alpha = static_cast<int32_t>(pObj->m_GeneralState.GetStrokeAlpha() * in GetStrokeArgb()
494 if (pObj->m_GeneralState.GetTR()) { in GetStrokeArgb()
[all …]
Dcpdf_imagerenderer.cpp79 CPDF_GeneralState& state = m_pImageObject->m_GeneralState; in StartRenderDIBBase()
/external/pdfium/fpdfsdk/
Dfpdf_editpage.cpp484 if (pPageObj->m_GeneralState.GetBlendType() != BlendMode::kNormal) in FPDFPageObj_HasTransparency()
488 ToDictionary(pPageObj->m_GeneralState.GetSoftMask()); in FPDFPageObj_HasTransparency()
492 if (pPageObj->m_GeneralState.GetFillAlpha() != 1.0f) in FPDFPageObj_HasTransparency()
495 if (pPageObj->IsPath() && pPageObj->m_GeneralState.GetStrokeAlpha() != 1.0f) in FPDFPageObj_HasTransparency()
629 pPageObj->m_GeneralState.SetBlendMode(blend_mode); in FPDFPageObj_SetBlendMode()
689 pPageObj->m_GeneralState.SetFillAlpha(A / 255.f); in FPDFPageObj_SetFillColor()
713 *A = FXSYS_GetUnsignedAlpha(pPageObj->m_GeneralState.GetFillAlpha()); in FPDFPageObj_GetFillColor()
746 pPageObj->m_GeneralState.SetStrokeAlpha(A / 255.f); in FPDFPageObj_SetStrokeColor()
770 *A = FXSYS_GetUnsignedAlpha(pPageObj->m_GeneralState.GetStrokeAlpha()); in FPDFPageObj_GetStrokeColor()
Dfpdf_text.cpp164 charinfo.m_pTextObj->m_GeneralState.GetFillAlpha()); in FPDFText_GetFillColor()
189 charinfo.m_pTextObj->m_GeneralState.GetStrokeAlpha()); in FPDFText_GetStrokeColor()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp426 graphD.fillAlpha = pPageObj->m_GeneralState.GetFillAlpha(); in ProcessGraphics()
427 graphD.strokeAlpha = pPageObj->m_GeneralState.GetStrokeAlpha(); in ProcessGraphics()
428 graphD.blendType = pPageObj->m_GeneralState.GetBlendType(); in ProcessGraphics()
448 pPageObj->m_GeneralState.GetBlendMode()); in ProcessGraphics()
Dcpdf_pagecontentgenerator_unittest.cpp197 pPathObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()
198 pPathObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()
263 pTextObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()
264 pTextObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()