Searched refs:ScalarToAlpha (Results 1 – 2 of 2) sorted by relevance
48 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha() function87 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect()88 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect()89 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect()94 ScalarToAlpha(partialL), ScalarToAlpha(partialR)); in blitFatAntiRect()98 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect()99 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect()100 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect()
47 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha() function86 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect()87 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect()88 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect()93 ScalarToAlpha(partialL), ScalarToAlpha(partialR)); in blitFatAntiRect()97 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect()98 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect()99 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect()