Home
last modified time | relevance | path

Searched refs:dotProd (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkStrokerPriv.cpp115 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in RoundJoiner() local
116 AngleType angleType = Dot2AngleType(dotProd); in RoundJoiner()
155 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in MiterJoiner() local
156 AngleType angleType = Dot2AngleType(dotProd); in MiterJoiner()
185 if (0 == dotProd && invMiterLimit <= kOneOverSqrt2) in MiterJoiner()
200 sinHalfAngle = SkScalarSqrt(SkScalarHalf(SK_Scalar1 + dotProd)); in MiterJoiner()
/external/skia/experimental/StrokePathRenderer/
DGrStrokePathRenderer.cpp156 SkScalar dotProd = v0.dot(v1);
159 if (!SkScalarNearlyZero(dotProd + SK_Scalar1) &&
160 !SkScalarNearlyZero(dotProd - SK_Scalar1)) {
176 SkScalarHalf(SK_Scalar1 + dotProd);