Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPolyUtils.cpp393 OffsetEdge* currEdge = head; in SkInsetConvexPolygon() local
394 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon()
398 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
407 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
417 } else if (currEdge->fTValue > SK_ScalarMin && in SkInsetConvexPolygon()
419 currEdge->fIntersection, in SkInsetConvexPolygon()
424 currEdge->fIntersection = intersection; in SkInsetConvexPolygon()
425 currEdge->fTValue = t; in SkInsetConvexPolygon()
428 prevEdge = currEdge; in SkInsetConvexPolygon()
429 currEdge = currEdge->fNext; in SkInsetConvexPolygon()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp380 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() local
385 if (!*currEdge) { in generate_distance_field_from_image()
389 ++currEdge; in generate_distance_field_from_image()
394 --currEdge; in generate_distance_field_from_image()
397 if (!*currEdge) { in generate_distance_field_from_image()
401 --currEdge; in generate_distance_field_from_image()
405 currEdge += dataWidth+1; in generate_distance_field_from_image()
410 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
415 if (!*currEdge) { in generate_distance_field_from_image()
419 ++currEdge; in generate_distance_field_from_image()
[all …]