Home
last modified time | relevance | path

Searched refs:eUnit (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_css.h189 CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue) in CFX_CSSLength() argument
190 : m_unit(eUnit), m_fValue(fValue) {} in CFX_CSSLength()
192 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit) { in Set() argument
193 m_unit = eUnit; in Set()
197 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set() argument
198 m_unit = eUnit; in Set()
217 CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val) in CFX_CSSRect() argument
218 : left(eUnit, val), in CFX_CSSRect()
219 top(eUnit, val), in CFX_CSSRect()
220 right(eUnit, val), in CFX_CSSRect()
[all …]
Dcfx_cssdeclaration.cpp291 CFX_CSSNumberType eUnit; in ParseNumber() local
292 if (!ParseCSSNumber(pszValue, iValueLen, &fValue, &eUnit)) in ParseNumber()
294 return pdfium::MakeRetain<CFX_CSSNumberValue>(eUnit, fValue); in ParseNumber()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement.h18 CXFA_Measurement(float fValue, XFA_Unit eUnit);
22 void Set(float fValue, XFA_Unit eUnit) { in Set() argument
24 m_eUnit = eUnit; in Set()
31 float ToUnit(XFA_Unit eUnit) const;
35 bool ToUnitInternal(XFA_Unit eUnit, float* fValue) const;
Dcxfa_measurement.cpp31 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() argument
32 Set(fValue, eUnit); in CXFA_Measurement()
78 float CXFA_Measurement::ToUnit(XFA_Unit eUnit) const { in ToUnit()
80 return ToUnitInternal(eUnit, &f) ? f : 0; in ToUnit()
83 bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { in ToUnitInternal() argument
86 if (eFrom == eUnit) in ToUnitInternal()
111 switch (eUnit) { in ToUnitInternal()
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp130 XFA_Unit eUnit = CXFA_Measurement::GetUnitFromString(unit.AsStringView()); in HWXY() local
131 if (eUnit == XFA_Unit::Unknown) in HWXY()
134 float fValue = measure.ToUnit(eUnit); in HWXY()