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.cpp375 OffsetEdge* currEdge = head; in SkInsetConvexPolygon() local
376 OffsetEdge* prevEdge = currEdge->fPrev; in SkInsetConvexPolygon()
380 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
389 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
399 } else if (currEdge->fTValue > SK_ScalarMin && in SkInsetConvexPolygon()
401 currEdge->fIntersection, in SkInsetConvexPolygon()
406 currEdge->fIntersection = intersection; in SkInsetConvexPolygon()
407 currEdge->fTValue = t; in SkInsetConvexPolygon()
410 prevEdge = currEdge; in SkInsetConvexPolygon()
411 currEdge = currEdge->fNext; in SkInsetConvexPolygon()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp376 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() local
381 if (!*currEdge) { in generate_distance_field_from_image()
385 ++currEdge; in generate_distance_field_from_image()
390 --currEdge; in generate_distance_field_from_image()
393 if (!*currEdge) { in generate_distance_field_from_image()
397 --currEdge; in generate_distance_field_from_image()
401 currEdge += dataWidth+1; in generate_distance_field_from_image()
406 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
411 if (!*currEdge) { in generate_distance_field_from_image()
415 ++currEdge; in generate_distance_field_from_image()
[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 …]