Home
last modified time | relevance | path

Searched refs:invDiffLen (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient.cpp284 SkScalar invDiffLen = SkScalarInvert(diffLen); in asABitmap() local
286 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY), in asABitmap()
287 SkScalarMul(invDiffLen, diff.fX)); in asABitmap()
694 SkScalar invDiffLen = SkScalarInvert(diffLen); in asNewEffect() local
696 rot.setSinCos(-SkScalarMul(invDiffLen, diff.fY), in asNewEffect()
697 SkScalarMul(invDiffLen, diff.fX)); in asNewEffect()
DSkTwoPointRadialGradient.cpp674 SkScalar invDiffLen = SkScalarInvert(diffLen); in asNewEffect() local
676 rot.setSinCos(-SkScalarMul(invDiffLen, fDiff.fY), in asNewEffect()
677 SkScalarMul(invDiffLen, fDiff.fX)); in asNewEffect()
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkTwoPointConicalGradient.cpp284 SkScalar invDiffLen = SkScalarInvert(diffLen); in asABitmap() local
286 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY), in asABitmap()
287 SkScalarMul(invDiffLen, diff.fX)); in asABitmap()
694 SkScalar invDiffLen = SkScalarInvert(diffLen); in asNewEffect() local
696 rot.setSinCos(-SkScalarMul(invDiffLen, diff.fY), in asNewEffect()
697 SkScalarMul(invDiffLen, diff.fX)); in asNewEffect()
DSkTwoPointRadialGradient.cpp674 SkScalar invDiffLen = SkScalarInvert(diffLen); in asNewEffect() local
676 rot.setSinCos(-SkScalarMul(invDiffLen, fDiff.fY), in asNewEffect()
677 SkScalarMul(invDiffLen, fDiff.fX)); in asNewEffect()