Searched refs:y_dist (Results 1 – 2 of 2) sorted by relevance
402 SkScalar y_dist = SkMin32(y, dstHeight - y - 1) * invInset; in onFilterImage() local409 if (x_dist < kScalar2 && y_dist < kScalar2) { in onFilterImage()411 y_dist = kScalar2 - y_dist; in onFilterImage()414 SkScalarSquare(y_dist)); in onFilterImage()419 SkScalarSquare(y_dist)); in onFilterImage()
425 FX_FLOAT y_dist = (y - position1.y) / (position2.y - position1.y); in DrawGouraud() local426 r[nIntersects] = vertex1.r + ((vertex2.r - vertex1.r) * y_dist); in DrawGouraud()427 g[nIntersects] = vertex1.g + ((vertex2.g - vertex1.g) * y_dist); in DrawGouraud()428 b[nIntersects] = vertex1.b + ((vertex2.b - vertex1.b) * y_dist); in DrawGouraud()