Searched refs:fPrevIndex (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 496 uint16_t fPrevIndex; // indices for previous and next vertex in unsorted polygon member 1059 newVertex.fPrevIndex = (i - 1 + polygonSize) % polygonSize; in SkIsSimplePolygon() 1062 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon() 1079 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon() 1087 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon() 1096 if (!sweepLine.replace(polygon[v.fPrevIndex], v.fPosition, polygon[v.fNextIndex], in SkIsSimplePolygon() 1097 v.fPrevIndex, v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon() 1102 if (!sweepLine.replace(polygon[v.fNextIndex], v.fPosition, polygon[v.fPrevIndex], in SkIsSimplePolygon() 1103 v.fNextIndex, v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon() 1402 uint16_t fPrevIndex; member [all …]
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 509 uint16_t fPrevIndex; // indices for previous and next vertex in unsorted polygon member 1072 newVertex.fPrevIndex = (i - 1 + polygonSize) % polygonSize; in SkIsSimplePolygon() 1075 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon() 1092 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon() 1100 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon() 1109 if (!sweepLine.replace(polygon[v.fPrevIndex], v.fPosition, polygon[v.fNextIndex], in SkIsSimplePolygon() 1110 v.fPrevIndex, v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon() 1115 if (!sweepLine.replace(polygon[v.fNextIndex], v.fPosition, polygon[v.fPrevIndex], in SkIsSimplePolygon() 1116 v.fNextIndex, v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon() 1424 uint16_t fPrevIndex; member [all …]
|