Home
last modified time | relevance | path

Searched defs:HBFixed (Results 1 – 2 of 2) sorted by relevance

/third_party/harfbuzz/src/
Dhb-open-type.hh146 struct HBFixed : HBINT32 struct
148 HBFixed& operator = (uint32_t i) { HBINT32::operator= (i); return *this; } in operator =()
150 float to_float () const { return ((int32_t) v) / 65536.f; } in to_float()
151 void set_float (float f) { v = roundf (f * 65536.f); } in set_float()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-open-type.hh155 struct HBFixed : HBINT32 struct
157 HBFixed& operator = (uint32_t i) { HBINT32::operator= (i); return *this; } in operator =()
159 float to_float () const { return ((int32_t) v) / 65536.f; } in to_float()
160 void set_float (float f) { v = roundf (f * 65536.f); } in set_float()