Searched refs:scale256 (Results 1 – 4 of 4) sorted by relevance
15 int scale256 = SkScalarRoundToInt(scale * 256); in Create() local16 if (scale256 >= 256) { in Create()18 } else if (scale256 <= 0) { in Create()21 return SkNEW_ARGS(SkLerpXfermode, (scale256)); in Create()24 SkLerpXfermode::SkLerpXfermode(unsigned scale256) : fScale256(scale256) {} in SkLerpXfermode() argument
38 SkLerpXfermode(unsigned scale256);
201 static inline int SkAlphaBlend(int src, int dst, int scale256) { in SkAlphaBlend() argument202 SkASSERT((unsigned)scale256 <= 256); in SkAlphaBlend()203 return dst + SkAlphaMul(src - dst, scale256); in SkAlphaBlend()
646 unsigned scale256 = fScale; in blitMask() local651 unsigned scale = SkAlpha255To256(aa) * scale256 >> (8 + 3); in blitMask()