Searched refs:normalB (Results 1 – 2 of 2) sorted by relevance
452 SkVector normalB; in quad_to() local454 normalB = pts[2] - pts[0]; in quad_to()455 normalB.rotateCCW(); in quad_to()457 SkAssertResult(normalB.setLength(fRadius / SkScalarSqrt((SK_Scalar1 + dot)/2))); in quad_to()459 fOuter.quadTo( pts[1].fX + normalB.fX, pts[1].fY + normalB.fY, in quad_to()461 fInner.quadTo( pts[1].fX - normalB.fX, pts[1].fY - normalB.fY, in quad_to()751 SkVector normalB, normalC; in cubic_to() local759 normalB = unitNormalAB + unitBC; in cubic_to()763 SkAssertResult(normalB.setLength(fRadius / SkScalarSqrt((SK_Scalar1 + dot)/2))); in cubic_to()767 fOuter.cubicTo( pts[1].fX + normalB.fX, pts[1].fY + normalB.fY, in cubic_to()[all …]
83 inline SkVector totalOffsetFromNormals(const SkVector& normalA, const SkVector& normalB) { in totalOffsetFromNormals() argument84 SkVector pseudoNormal = normalA + normalB; in totalOffsetFromNormals()85 pseudoNormal.scale(1.0f / (1.0f + sk_float_abs(normalA.dot(normalB)))); in totalOffsetFromNormals()