Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkPolyUtils.cpp351 OffsetEdge* currEdge = head; in SkInsetConvexPolygon() local
352 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon()
356 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
365 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
375 } else if (currEdge->fTValue > SK_ScalarMin && in SkInsetConvexPolygon()
377 currEdge->fIntersection, in SkInsetConvexPolygon()
382 currEdge->fIntersection = intersection; in SkInsetConvexPolygon()
383 currEdge->fTValue = t; in SkInsetConvexPolygon()
386 prevEdge = currEdge; in SkInsetConvexPolygon()
387 currEdge = currEdge->fNext; in SkInsetConvexPolygon()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp364 OffsetEdge* currEdge = head; in SkInsetConvexPolygon() local
365 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon()
369 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
378 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
388 } else if (currEdge->fTValue > SK_ScalarMin && in SkInsetConvexPolygon()
390 currEdge->fIntersection, in SkInsetConvexPolygon()
395 currEdge->fIntersection = intersection; in SkInsetConvexPolygon()
396 currEdge->fTValue = t; in SkInsetConvexPolygon()
399 prevEdge = currEdge; in SkInsetConvexPolygon()
400 currEdge = currEdge->fNext; in SkInsetConvexPolygon()
[all …]
/external/skqp/src/core/
DSkDistanceFieldGen.cpp375 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() local
380 if (!*currEdge) { in generate_distance_field_from_image()
384 ++currEdge; in generate_distance_field_from_image()
389 --currEdge; in generate_distance_field_from_image()
392 if (!*currEdge) { in generate_distance_field_from_image()
396 --currEdge; in generate_distance_field_from_image()
400 currEdge += dataWidth+1; in generate_distance_field_from_image()
405 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
410 if (!*currEdge) { in generate_distance_field_from_image()
414 ++currEdge; in generate_distance_field_from_image()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp375 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() local
380 if (!*currEdge) { in generate_distance_field_from_image()
384 ++currEdge; in generate_distance_field_from_image()
389 --currEdge; in generate_distance_field_from_image()
392 if (!*currEdge) { in generate_distance_field_from_image()
396 --currEdge; in generate_distance_field_from_image()
400 currEdge += dataWidth+1; in generate_distance_field_from_image()
405 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
410 if (!*currEdge) { in generate_distance_field_from_image()
414 ++currEdge; in generate_distance_field_from_image()
[all …]