Searched refs:CFX_CSSNumberValue (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssnumbervalue.cpp | 9 CFX_CSSNumberValue::CFX_CSSNumberValue(CFX_CSSNumberType type, float value) in CFX_CSSNumberValue() function in CFX_CSSNumberValue 15 CFX_CSSNumberValue::~CFX_CSSNumberValue() {} in ~CFX_CSSNumberValue() 17 float CFX_CSSNumberValue::Apply(float percentBase) const { in Apply()
|
D | cfx_cssnumbervalue.h | 26 class CFX_CSSNumberValue final : public CFX_CSSValue { 28 CFX_CSSNumberValue(CFX_CSSNumberType type, float value); 29 ~CFX_CSSNumberValue() override;
|
D | cfx_cssstyleselector.cpp | 188 fFontSize = pValue.As<CFX_CSSNumberValue>()->Apply(fFontSize); in ApplyProperty() 196 RetainPtr<CFX_CSSNumberValue> v = pValue.As<CFX_CSSNumberValue>(); in ApplyProperty() 223 (int32_t)pValue.As<CFX_CSSNumberValue>()->Value() / 100; in ApplyProperty() 333 pValue.As<CFX_CSSNumberValue>()->Apply( in ApplyProperty() 348 if (pValue.As<CFX_CSSNumberValue>()->Kind() == in ApplyProperty() 363 if (pValue.As<CFX_CSSNumberValue>()->Kind() == in ApplyProperty() 480 RetainPtr<CFX_CSSNumberValue> v = pValue.As<CFX_CSSNumberValue>(); in SetLengthWithPercent() 483 pValue.As<CFX_CSSNumberValue>()->Value() / 100.0f); in SetLengthWithPercent()
|
D | cfx_cssdeclaration.cpp | 294 return pdfium::MakeRetain<CFX_CSSNumberValue>(eUnit, fValue); in ParseNumber() 345 pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue)); in ParseValueListProperty() 466 pWidth = pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue); in ParseBorderProperty() 499 pdfium::MakeRetain<CFX_CSSNumberValue>(CFX_CSSNumberType::Number, 0.0f); in ParseBorderProperty() 591 pWeight = pdfium::MakeRetain<CFX_CSSNumberValue>( in ParseFontProperty() 597 pFontSize = pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue); in ParseFontProperty() 600 pdfium::MakeRetain<CFX_CSSNumberValue>(eNumType, fValue); in ParseFontProperty()
|
D | cfx_cssstylesheet_unittest.cpp | 56 EXPECT_EQ(v.As<CFX_CSSNumberValue>()->Kind(), type); in VerifyFloat() 57 EXPECT_EQ(v.As<CFX_CSSNumberValue>()->Value(), val); in VerifyFloat()
|