Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp143 PixelWeight* pWeight = GetPixelWeight(dest_col); in Calc() local
144 pWeight->m_SrcStart = pWeight->m_SrcEnd = src_col; in Calc()
145 pWeight->m_Weights[0] = 65536; in Calc()
146 pWeight->m_Weights[1] = 0; in Calc()
150 pWeight = GetPixelWeight(dest_col_index); in Calc()
151 pWeight->m_SrcStart = pWeight->m_SrcEnd = src_col; in Calc()
152 pWeight->m_Weights[0] = 65536; in Calc()
153 pWeight->m_Weights[1] = 0; in Calc()
160 pWeight = GetPixelWeight(dest_col_index); in Calc()
161 pWeight->m_SrcStart = src_col - 1; in Calc()
[all …]
/external/pdfium/core/fxge/dib/
Dcstretchengine.cpp214 int* CStretchEngine::CWeightTable::GetValueFromPixelWeight(PixelWeight* pWeight, in GetValueFromPixelWeight() argument
216 if (index < pWeight->m_SrcStart) in GetValueFromPixelWeight()
219 size_t idx = index - pWeight->m_SrcStart; in GetValueFromPixelWeight()
220 return idx < GetPixelWeightSize() ? &pWeight->m_Weights[idx] : nullptr; in GetValueFromPixelWeight()
382 int* pWeight = m_WeightTable.GetValueFromPixelWeight(pWeights, j); in ContinueStretchHorz() local
383 if (!pWeight) in ContinueStretchHorz()
386 int pixel_weight = *pWeight; in ContinueStretchHorz()
401 int* pWeight = m_WeightTable.GetValueFromPixelWeight(pWeights, j); in ContinueStretchHorz() local
402 if (!pWeight) in ContinueStretchHorz()
405 int pixel_weight = *pWeight; in ContinueStretchHorz()
[all …]
Dcstretchengine.h57 int* GetValueFromPixelWeight(PixelWeight* pWeight, int index) const;
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration.cpp510 RetainPtr<CFX_CSSValue> pWeight; in ParseFontProperty() local
538 if (!pWeight) in ParseFontProperty()
539 pWeight = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty()
555 else if (!pWeight) in ParseFontProperty()
556 pWeight = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty()
590 if (!pWeight) in ParseFontProperty()
591 pWeight = pdfium::MakeRetain<CFX_CSSNumberValue>( in ParseFontProperty()
615 if (!pWeight) { in ParseFontProperty()
616 pWeight = in ParseFontProperty()
630 AddPropertyHolder(CFX_CSSProperty::FontWeight, pWeight, bImportant); in ParseFontProperty()