#include "xfa/fxfa/parser/cxfa_measurement.h"
#include <math.h>
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/notreached.h"
namespace {
constexpr float kPtToInch = …;
constexpr float kPtToCm = …;
constexpr float kPtToMm = …;
constexpr float kPtToMp = …;
constexpr float kPtToPc = …;
}
CXFA_Measurement::CXFA_Measurement(WideStringView wsMeasure) { … }
CXFA_Measurement::CXFA_Measurement() { … }
CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { … }
void CXFA_Measurement::SetString(WideStringView wsMeasure) { … }
WideString CXFA_Measurement::ToString() const { … }
float CXFA_Measurement::ToUnit(XFA_Unit eUnit) const { … }
bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { … }
XFA_Unit CXFA_Measurement::GetUnitFromString(WideStringView wsUnit) { … }