Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp410 int nIntersects = 0; in DrawGouraud() local
421 GetScanlineIntersect(y, position1, position2, &inter_x[nIntersects]); in DrawGouraud()
426 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()
429 nIntersects++; in DrawGouraud()
431 if (nIntersects != 2) in DrawGouraud()