Searched refs:CFDE_CSSNumberValue (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/xfa/fde/css/ |
D | cfde_cssnumbervalue.cpp | 9 CFDE_CSSNumberValue::CFDE_CSSNumberValue(FDE_CSSNumberType type, FX_FLOAT value) in CFDE_CSSNumberValue() function in CFDE_CSSNumberValue 15 CFDE_CSSNumberValue::~CFDE_CSSNumberValue() {} in ~CFDE_CSSNumberValue() 17 FX_FLOAT CFDE_CSSNumberValue::Apply(FX_FLOAT percentBase) const { in Apply()
|
D | cfde_cssnumbervalue.h | 26 class CFDE_CSSNumberValue : public CFDE_CSSValue { 28 CFDE_CSSNumberValue(FDE_CSSNumberType type, FX_FLOAT value); 29 ~CFDE_CSSNumberValue() override;
|
D | cfde_cssstyleselector.cpp | 190 fFontSize = pValue.As<CFDE_CSSNumberValue>()->Apply(fFontSize); in ApplyProperty() 198 CFX_RetainPtr<CFDE_CSSNumberValue> v = in ApplyProperty() 199 pValue.As<CFDE_CSSNumberValue>(); in ApplyProperty() 226 (int32_t)pValue.As<CFDE_CSSNumberValue>()->Value() / 100; in ApplyProperty() 336 pValue.As<CFDE_CSSNumberValue>()->Apply( in ApplyProperty() 351 if (pValue.As<CFDE_CSSNumberValue>()->Kind() == in ApplyProperty() 366 if (pValue.As<CFDE_CSSNumberValue>()->Kind() == in ApplyProperty() 483 CFX_RetainPtr<CFDE_CSSNumberValue> v = pValue.As<CFDE_CSSNumberValue>(); in SetLengthWithPercent() 486 pValue.As<CFDE_CSSNumberValue>()->Value() / 100.0f); in SetLengthWithPercent()
|
D | cfde_cssdeclaration.cpp | 286 return pdfium::MakeRetain<CFDE_CSSNumberValue>(eUnit, fValue); in ParseNumber() 341 pdfium::MakeRetain<CFDE_CSSNumberValue>(eNumType, fValue)); in ParseValueListProperty() 463 pWidth = pdfium::MakeRetain<CFDE_CSSNumberValue>(eNumType, fValue); in ParseBorderProperty() 494 pWidth = pdfium::MakeRetain<CFDE_CSSNumberValue>(FDE_CSSNumberType::Number, in ParseBorderProperty() 588 pWeight = pdfium::MakeRetain<CFDE_CSSNumberValue>( in ParseFontProperty() 594 pFontSize = pdfium::MakeRetain<CFDE_CSSNumberValue>(eNumType, fValue); in ParseFontProperty() 597 pdfium::MakeRetain<CFDE_CSSNumberValue>(eNumType, fValue); in ParseFontProperty()
|
D | cfde_cssstylesheet_unittest.cpp | 56 EXPECT_EQ(v.As<CFDE_CSSNumberValue>()->Kind(), type); in VerifyFloat() 57 EXPECT_EQ(v.As<CFDE_CSSNumberValue>()->Value(), val); in VerifyFloat()
|