Searched refs:SK_Fract1 (Results 1 – 6 of 6) sorted by relevance
217 x = SkFractSqrt(SK_Fract1); in TestMath()218 REPORTER_ASSERT(reporter, x == SK_Fract1); in TestMath()219 x = SkFractSqrt(SK_Fract1/4); in TestMath()220 REPORTER_ASSERT(reporter, x == SK_Fract1/2); in TestMath()221 x = SkFractSqrt(SK_Fract1/16); in TestMath()222 REPORTER_ASSERT(reporter, x == SK_Fract1/4); in TestMath()326 double xx = (double)x / SK_Fract1; in TestMath()
51 #define SK_Fract1 (1 << 30) macro57 #define SkFloatToFract(x) ((SkFract)((x) * SK_Fract1))
15 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper()
102 SkFixed scale = SkFixedDiv(SK_Fract1, mag); in normalize()
31 #define SK_UnitScalar1 SK_Fract1
31 #define kMatrix22Elem SK_Fract1715 return SkFractDiv(SK_Fract1, denom); in sk_inv_determinant()750 tmp.set(SK_Fract1); in invert()1156 #define PerspNearlyZero(x) (SkAbs32(x) < (SK_Fract1 >> 26))1299 dst->fMat[kMPersp2] = SK_Fract1; in Poly2Proc()1316 dst->fMat[kMPersp2] = SK_Fract1; in Poly3Proc()1376 dst->fMat[kMPersp2] = SK_Fract1; in Poly4Proc()