Searched refs:m_GeneralState (Results 1 – 12 of 12) sorted by relevance
77 m_GeneralState.SetRenderIntent(pObject->GetString()); in ProcessExtGS()93 m_GeneralState.SetTR(pObject && !pObject->IsName() ? pObject : nullptr); in ProcessExtGS()97 m_GeneralState.SetBlendMode(pArray ? pArray->GetStringAt(0) in ProcessExtGS()99 if (m_GeneralState.GetBlendType() > FXDIB_BLEND_MULTIPLY) in ProcessExtGS()105 m_GeneralState.SetSoftMask(pObject); in ProcessExtGS()106 m_GeneralState.SetSMaskMatrix(pParser->GetCurStates()->m_CTM); in ProcessExtGS()108 m_GeneralState.SetSoftMask(nullptr); in ProcessExtGS()112 m_GeneralState.SetStrokeAlpha( in ProcessExtGS()116 m_GeneralState.SetFillAlpha( in ProcessExtGS()120 m_GeneralState.SetStrokeOP(!!pObject->GetInteger()); in ProcessExtGS()[all …]
23 m_GeneralState = src.m_GeneralState; in CopyStates()
90 if (!m_GeneralState.HasRef()) in TransformGeneralState()92 m_GeneralState.GetMutableMatrix()->Concat(matrix); in TransformGeneralState()
28 CPDF_GeneralState m_GeneralState; variable
276 m_pCurStates->m_GeneralState.Emplace(); in CPDF_StreamContentParser()426 pObj->m_GeneralState = m_pCurStates->m_GeneralState; in SetGraphicStates()769 status.m_GeneralState = m_pCurStates->m_GeneralState; in AddForm()898 m_pCurStates->m_GeneralState.SetFlatness(GetNumber(0)); in Handle_SetFlat()
97 CPDF_GeneralState* pState = &m_pParser->GetCurStates()->m_GeneralState; in CPDF_ContentParser()
219 int blend_type = pPageObj->m_GeneralState.GetBlendType(); in FPDFPageObj_HasTransparency()224 ToDictionary(pPageObj->m_GeneralState.GetSoftMask()); in FPDFPageObj_HasTransparency()228 if (pPageObj->m_GeneralState.GetFillAlpha() != 1.0f) in FPDFPageObj_HasTransparency()231 if (pPageObj->IsPath() && pPageObj->m_GeneralState.GetStrokeAlpha() != 1.0f) { in FPDFPageObj_HasTransparency()288 pPageObj->m_GeneralState.SetBlendMode(blend_mode); in FPDFPageObj_SetBlendMode()346 pPageObj->m_GeneralState.SetFillAlpha(A / 255.f); in FPDFPageObj_SetFillColor()
67 pPathObj->m_GeneralState.SetStrokeAlpha(A / 255.f); in FPDFPath_SetStrokeColor()89 (pPathObj->m_GeneralState.GetStrokeAlpha() * 255.f) + 0.5f); in FPDFPath_GetStrokeColor()126 (pPathObj->m_GeneralState.GetFillAlpha() * 255.f) + 0.5f); in FPDFPath_GetFillColor()
1330 if (pPageObj->m_GeneralState.GetStrokeAdjust()) in ProcessPath()1364 static_cast<int32_t>((pObj->m_GeneralState.GetFillAlpha() * 255)); in GetFillArgb()1365 if (pObj->m_GeneralState.GetTR()) { in GetFillArgb()1366 if (!pObj->m_GeneralState.GetTransferFunc()) { in GetFillArgb()1367 pObj->m_GeneralState.SetTransferFunc( in GetFillArgb()1368 GetTransferFunc(pObj->m_GeneralState.GetTR())); in GetFillArgb()1370 if (pObj->m_GeneralState.GetTransferFunc()) in GetFillArgb()1371 rgb = pObj->m_GeneralState.GetTransferFunc()->TranslateColor(rgb); in GetFillArgb()1388 int32_t alpha = static_cast<int32_t>(pObj->m_GeneralState.GetStrokeAlpha() * in GetStrokeArgb()1390 if (pObj->m_GeneralState.GetTR()) { in GetStrokeArgb()[all …]
76 CPDF_GeneralState& state = m_pImageObject->m_GeneralState; in StartRenderDIBSource()
289 graphD.fillAlpha = pPageObj->m_GeneralState.GetFillAlpha(); in ProcessGraphics()290 graphD.strokeAlpha = pPageObj->m_GeneralState.GetStrokeAlpha(); in ProcessGraphics()291 graphD.blendType = pPageObj->m_GeneralState.GetBlendType(); in ProcessGraphics()313 pPageObj->m_GeneralState.GetBlendMode()); in ProcessGraphics()
125 pPathObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()126 pPathObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()182 pTextObj->m_GeneralState.SetFillAlpha(0.5f); in TEST_F()183 pTextObj->m_GeneralState.SetStrokeAlpha(0.8f); in TEST_F()