Searched refs:SkFloatToFixed (Results 1 – 7 of 7) sorted by relevance
34 #define SkFloatToFixed(x) ((SkFixed)((x) * SK_Fixed1)) macro44 #define SkFloatToFixed_Check(x) SkFloatToFixed(x)135 #undef SkFloatToFixed136 #define SkFloatToFixed(x) SkFloatToFixed_arm(x) macro142 #define SkScalarToFixed(x) SkFloatToFixed(x)
286 ptr[2] = SkEndian_SwapBE32(SkFloatToFixed(toXYZ.getFloat(0, col))); in write_xyz_tag()287 ptr[3] = SkEndian_SwapBE32(SkFloatToFixed(toXYZ.getFloat(1, col))); in write_xyz_tag()288 ptr[4] = SkEndian_SwapBE32(SkFloatToFixed(toXYZ.getFloat(2, col))); in write_xyz_tag()295 ptr[3] = SkEndian_SwapBE32(SkFloatToFixed(fn.fG)); in write_trc_tag()296 ptr[4] = SkEndian_SwapBE32(SkFloatToFixed(fn.fA)); in write_trc_tag()297 ptr[5] = SkEndian_SwapBE32(SkFloatToFixed(fn.fB)); in write_trc_tag()298 ptr[6] = SkEndian_SwapBE32(SkFloatToFixed(fn.fC)); in write_trc_tag()299 ptr[7] = SkEndian_SwapBE32(SkFloatToFixed(fn.fD)); in write_trc_tag()300 ptr[8] = SkEndian_SwapBE32(SkFloatToFixed(fn.fE)); in write_trc_tag()301 ptr[9] = SkEndian_SwapBE32(SkFloatToFixed(fn.fF)); in write_trc_tag()
63 SkFixed curr = SkFloatToFixed(fx); in performTest()64 SkFixed step = SkFloatToFixed(dx); in performTest()135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; in performTest()136 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; in performTest()137 tmp = SkFloatToFixed(fx); dst[i + 2] = TILE(tmp, count); fx += dx; in performTest()138 tmp = SkFloatToFixed(fx); dst[i + 3] = TILE(tmp, count); fx += dx; in performTest()
517 fResult[i] = SkFloatToFixed(fData[i]); in onDraw()
131 return SkFloatToFixed(t); in nextT()
164 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan_radial()
588 return SkFixedToFIXED(SkFloatToFixed(x)); in float2FIXED()