Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkPolyUtils.cpp32 static int compute_side(const SkPoint& p0, const SkVector& v, const SkPoint& p) { in compute_side() function
336 if (compute_side(inputPolygonVerts[prev], inputPolygonVerts[curr] - inputPolygonVerts[prev], in SkInsetConvexPolygon()
391 int side = winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon()
395 side == winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon()
611 result = (compute_side(p0, v, q0)*compute_side(p0, v, q1) < 0); in intersect()
613 result = (compute_side(p0, v, q0)*compute_side(q0, w, p1) > 0); in intersect()
617 result = (compute_side(q0, w, p0)*compute_side(q0, w, p1) < 0); in intersect()
619 result = (compute_side(q0, w, p0)*compute_side(p0, v, q1) > 0); in intersect()
738 side = compute_side(curr->fSegment.fP0, curr->fSegment.fV, p1); in insert()
740 side = compute_side(curr->fSegment.fP0, curr->fSegment.fV, p0); in insert()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp32 static int compute_side(const SkPoint& p0, const SkVector& v, const SkPoint& p) { in compute_side() function
360 if (compute_side(inputPolygonVerts[prev], inputPolygonVerts[curr] - inputPolygonVerts[prev], in SkInsetConvexPolygon()
415 int side = winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon()
419 side == winding*compute_side(currEdge->fOffset.fP0, in SkInsetConvexPolygon()
641 result = (compute_side(p0, v, q0)*compute_side(p0, v, q1) < 0); in intersect()
643 result = (compute_side(p0, v, q0)*compute_side(q0, w, p1) > 0); in intersect()
647 result = (compute_side(q0, w, p0)*compute_side(q0, w, p1) < 0); in intersect()
649 result = (compute_side(q0, w, p0)*compute_side(p0, v, q1) > 0); in intersect()
768 side = compute_side(curr->fSegment.fP0, curr->fSegment.fV, p1); in insert()
770 side = compute_side(curr->fSegment.fP0, curr->fSegment.fV, p0); in insert()
[all …]