Searched defs:HBFixed (Results 1 – 2 of 2) sorted by relevance
146 struct HBFixed : HBINT32 struct148 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()
155 struct HBFixed : HBINT32 struct157 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()