Searched refs:IM_F32_TO_INT8_UNBOUND (Results 1 – 2 of 2) sorted by relevance
132 #define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // … macro
3870 …int i[4] = { IM_F32_TO_INT8_UNBOUND(f[0]), IM_F32_TO_INT8_UNBOUND(f[1]), IM_F32_TO_INT8_UNBOUND(f[… in ColorEdit4()