Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp350 int nIntersects = 0; in DrawGouraud() local
361 GetScanlineIntersect(y, position1, position2, &inter_x[nIntersects]); in DrawGouraud()
366 r[nIntersects] = vertex1.r + ((vertex2.r - vertex1.r) * y_dist); in DrawGouraud()
367 g[nIntersects] = vertex1.g + ((vertex2.g - vertex1.g) * y_dist); in DrawGouraud()
368 b[nIntersects] = vertex1.b + ((vertex2.b - vertex1.b) * y_dist); in DrawGouraud()
369 nIntersects++; in DrawGouraud()
371 if (nIntersects != 2) in DrawGouraud()