Searched refs:SkScalarSquare (Results 1 – 8 of 8) sorted by relevance
60 SkScalar mag = SkScalarSquare(v[0]) + SkScalarSquare(v[1]) + SkScalarSquare(v[2]); in normalize()
361 SkScalar dist = SkScalarSqrt(SkScalarSquare(x_dist) + in onFilterImage()362 SkScalarSquare(y_dist)); in onFilterImage()364 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1); in onFilterImage()366 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImage()367 SkScalarSquare(y_dist)); in onFilterImage()
50 return SkScalarMul(SkScalarSquare(t), SK_Scalar3 - 2 * t); in smoothCurve()
266 SkScalar dist = SkScalarMul(SkScalarSquare(canonicalPt.fX), SkScalarSquare(fRadii[index].fY)) + in checkCornerContainment()267 SkScalarMul(SkScalarSquare(canonicalPt.fY), SkScalarSquare(fRadii[index].fX)); in checkCornerContainment()268 return dist <= SkScalarSquare(SkScalarMul(fRadii[index].fX, fRadii[index].fY)); in checkCornerContainment()
254 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)); in preservesRightAngles()
206 float sigmaXDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaX))); in CreateGaussian()207 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()556 const SkScalar tolSqd = SkScalarSquare(SkScalarMul(tolScale, kTolerance)); in convertCubicToQuads()
183 static inline SkScalar SkScalarSquare(SkScalar x) { return x * x; } in SkScalarSquare() function