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.cpp84 m_GeneralState.SetRenderIntent(pObject->GetString()); in ProcessExtGS()
101 m_GeneralState.SetTR(!pObject->IsName() ? std::move(pObject) : nullptr); in ProcessExtGS()
105 m_GeneralState.SetBlendMode(pArray ? pArray->GetByteStringAt(0) in ProcessExtGS()
107 if (m_GeneralState.GetBlendType() > BlendMode::kMultiply) in ProcessExtGS()
113 m_GeneralState.SetSoftMask(pMaskDict); in ProcessExtGS()
115 m_GeneralState.SetSMaskMatrix(pParser->GetCurStates()->m_CTM); in ProcessExtGS()
119 m_GeneralState.SetStrokeAlpha( in ProcessExtGS()
123 m_GeneralState.SetFillAlpha( in ProcessExtGS()
127 m_GeneralState.SetStrokeOP(!!pObject->GetInteger()); in ProcessExtGS()
129 m_GeneralState.SetFillOP(!!pObject->GetInteger()); in ProcessExtGS()
[all …]
Dcpdf_graphicstates.cpp23 m_GeneralState = src.m_GeneralState; in CopyStates()
Dcpdf_tilingpattern.cpp54 allStates.m_GeneralState = pPageObj->m_GeneralState; in Load()
Dcpdf_pageobject.cpp90 if (!m_GeneralState.HasRef()) in TransformGeneralState()
92 m_GeneralState.GetMutableMatrix()->Concat(matrix); in TransformGeneralState()
Dcpdf_graphicstates.h28 CPDF_GeneralState m_GeneralState; variable
Dcpdf_streamcontentparser.cpp269 m_pCurStates->m_GeneralState.Emplace(); in CPDF_StreamContentParser()
417 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates()
769 status.m_GeneralState = m_pCurStates->m_GeneralState; in AddForm()
922 m_pCurStates->m_GeneralState.SetFlatness(GetNumber(0)); in Handle_SetFlat()
Dcpdf_contentparser.cpp106 CPDF_GeneralState* pState = &m_pParser->GetCurStates()->m_GeneralState; in CPDF_ContentParser()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp95 if (path_obj->m_GeneralState.GetStrokeAdjust()) in GetFillOptionsForDrawPathWithBlend()
115 if (text_obj->m_GeneralState.GetStrokeAdjust()) in GetFillOptionsForDrawTextPath()
432 static_cast<int32_t>((pObj->m_GeneralState.GetFillAlpha() * 255)); in GetFillArgbForType3()
433 RetainPtr<const CPDF_Object> pTR = pObj->m_GeneralState.GetTR(); in GetFillArgbForType3()
435 if (!pObj->m_GeneralState.GetTransferFunc()) { in GetFillArgbForType3()
436 pObj->m_GeneralState.SetTransferFunc(GetTransferFunc(std::move(pTR))); in GetFillArgbForType3()
438 if (pObj->m_GeneralState.GetTransferFunc()) { in GetFillArgbForType3()
440 pObj->m_GeneralState.GetTransferFunc()->TranslateColor(colorref); in GetFillArgbForType3()
460 int32_t alpha = static_cast<int32_t>(pObj->m_GeneralState.GetStrokeAlpha() * in GetStrokeArgb()
462 RetainPtr<const CPDF_Object> pTR = pObj->m_GeneralState.GetTR(); in GetStrokeArgb()
[all …]
Dcpdf_imagerenderer.cpp112 CPDF_GeneralState& state = m_pImageObject->m_GeneralState; in StartRenderDIBBase()
/external/pdfium/fpdfsdk/
Dfpdf_editpage.cpp482 if (pPageObj->m_GeneralState.GetBlendType() != BlendMode::kNormal) in FPDFPageObj_HasTransparency()
485 if (pPageObj->m_GeneralState.GetSoftMask()) in FPDFPageObj_HasTransparency()
488 if (pPageObj->m_GeneralState.GetFillAlpha() != 1.0f) in FPDFPageObj_HasTransparency()
491 if (pPageObj->IsPath() && pPageObj->m_GeneralState.GetStrokeAlpha() != 1.0f) in FPDFPageObj_HasTransparency()
680 pPageObj->m_GeneralState.SetBlendMode(blend_mode); in FPDFPageObj_SetBlendMode()
740 pPageObj->m_GeneralState.SetFillAlpha(A / 255.f); in FPDFPageObj_SetFillColor()
765 *A = FXSYS_GetUnsignedAlpha(pPageObj->m_GeneralState.GetFillAlpha()); in FPDFPageObj_GetFillColor()
836 pPageObj->m_GeneralState.SetStrokeAlpha(A / 255.f); in FPDFPageObj_SetStrokeColor()
861 *A = FXSYS_GetUnsignedAlpha(pPageObj->m_GeneralState.GetStrokeAlpha()); in FPDFPageObj_GetStrokeColor()
Dfpdf_text.cpp177 charinfo.m_pTextObj->m_GeneralState.GetFillAlpha()); in FPDFText_GetFillColor()
202 charinfo.m_pTextObj->m_GeneralState.GetStrokeAlpha()); in FPDFText_GetStrokeColor()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp200 pPathObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()
201 pPathObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()
262 pTextObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()
263 pTextObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()
Dcpdf_pagecontentgenerator.cpp576 graphD.fillAlpha = pPageObj->m_GeneralState.GetFillAlpha(); in ProcessGraphics()
577 graphD.strokeAlpha = pPageObj->m_GeneralState.GetStrokeAlpha(); in ProcessGraphics()
578 graphD.blendType = pPageObj->m_GeneralState.GetBlendType(); in ProcessGraphics()
599 pPageObj->m_GeneralState.GetBlendMode()); in ProcessGraphics()