Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkInsetConvexPolygon.cpp196 SkAutoSTMalloc<64, EdgeData> edgeData(inputPolygonSize); in SkInsetConvexPolygon() local
208 &edgeData[i].fInset.fP0, &edgeData[i].fInset.fP1); in SkInsetConvexPolygon()
209 edgeData[i].fIntersection = edgeData[i].fInset.fP0; in SkInsetConvexPolygon()
210 edgeData[i].fTValue = SK_ScalarMin; in SkInsetConvexPolygon()
211 edgeData[i].fValid = true; in SkInsetConvexPolygon()
218 if (!edgeData[prevIndex].fValid) { in SkInsetConvexPolygon()
225 if (compute_intersection(edgeData[prevIndex].fInset, edgeData[currIndex].fInset, in SkInsetConvexPolygon()
228 if (s < edgeData[prevIndex].fTValue) { in SkInsetConvexPolygon()
230 edgeData[prevIndex].fValid = false; in SkInsetConvexPolygon()
235 } else if (edgeData[currIndex].fTValue > SK_ScalarMin && in SkInsetConvexPolygon()
[all …]