Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient.cpp308 SkScalar invDiffLen = SkScalarInvert(diffLen); in asABitmap() local
310 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY), in asABitmap()
311 SkScalarMul(invDiffLen, diff.fX)); in asABitmap()
DSkTwoPointConicalGradient_gpu.cpp49 SkScalar invDiffLen = SkScalarInvert(diffLen); in set_matrix_edge_conical() local
51 rot.setSinCos(-SkScalarMul(invDiffLen, diff.fY), in set_matrix_edge_conical()
52 SkScalarMul(invDiffLen, diff.fX)); in set_matrix_edge_conical()