Searched refs:SkScalarSquare (Results 1 – 9 of 9) sorted by relevance
60 SkScalar mag = SkScalarSquare(v[0]) + SkScalarSquare(v[1]) + SkScalarSquare(v[2]); in normalize()
341 SkScalar dist = SkScalarSqrt(SkScalarSquare(x_dist) + in onFilterImageDeprecated()342 SkScalarSquare(y_dist)); in onFilterImageDeprecated()344 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1); in onFilterImageDeprecated()346 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImageDeprecated()347 SkScalarSquare(y_dist)); in onFilterImageDeprecated()
52 return SkScalarMul(SkScalarSquare(t), SK_Scalar3 - 2 * t); in smoothCurve()
249 SkScalar dist = SkScalarMul(SkScalarSquare(canonicalPt.fX), SkScalarSquare(fRadii[index].fY)) + in checkCornerContainment()250 SkScalarMul(SkScalarSquare(canonicalPt.fY), SkScalarSquare(fRadii[index].fX)); in checkCornerContainment()251 return dist <= SkScalarSquare(SkScalarMul(fRadii[index].fX, fRadii[index].fY)); in checkCornerContainment()
256 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)); in preservesRightAngles()
200 float sigmaXDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaX))); in CreateGaussian()201 float sigmaYDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaY))); in CreateGaussian()
443 detABSqd = SkScalarSquare(detABSqd); in convert_noninflect_cubic_to_quads()445 detDCSqd = SkScalarSquare(detDCSqd); in convert_noninflect_cubic_to_quads()552 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads()569 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuadsConstrainToTangents()
183 static inline SkScalar SkScalarSquare(SkScalar x) { return x * x; } in SkScalarSquare() function
84 return SkScalarMul(SkScalarSquare(t), SK_Scalar3 - 2 * t); in smoothCurve()