Searched defs:only_end_pts_in_common (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkDQuadIntersection.cpp | 81 static bool only_end_pts_in_common(const SkDQuad& q1, const SkDQuad& q2) { function 410 if (only_end_pts_in_common(q1, q2)) { 413 if (only_end_pts_in_common(q2, q1)) { 409 SkASSERT(fUsed < 3); if (only_end_pts_in_common(q1, q2)) { return fUsed; } if (only_end_pts_in_common(q2, q1)) { return fUsed; } if (is_linear(q1, q2, this)) { return fUsed; } SkIntersections swapped; swapped.setMax(fMax); if (is_linear(q2, q1, &swapped)) { swapped.swapPts(); *this = swapped; return fUsed; } SkIntersections copyI(*this); lookNearEnd(q1, q2, 0, *this, false, ©I); lookNearEnd(q1, q2, 1, *this, false, ©I); lookNearEnd(q2, q1, 0, *this, true, ©I); lookNearEnd(q2, q1, 1, *this, true, ©I); int innerEqual = 0; if (copyI.fUsed >= 2) argument
|
/external/skia/src/pathops/ |
H A D | SkDQuadIntersection.cpp | 81 static bool only_end_pts_in_common(const SkDQuad& q1, const SkDQuad& q2) { function 410 if (only_end_pts_in_common(q1, q2)) { 413 if (only_end_pts_in_common(q2, q1)) { 409 SkASSERT(fUsed < 3); if (only_end_pts_in_common(q1, q2)) { return fUsed; } if (only_end_pts_in_common(q2, q1)) { return fUsed; } if (is_linear(q1, q2, this)) { return fUsed; } SkIntersections swapped; swapped.setMax(fMax); if (is_linear(q2, q1, &swapped)) { swapped.swapPts(); *this = swapped; return fUsed; } SkIntersections copyI(*this); lookNearEnd(q1, q2, 0, *this, false, ©I); lookNearEnd(q1, q2, 1, *this, false, ©I); lookNearEnd(q2, q1, 0, *this, true, ©I); lookNearEnd(q2, q1, 1, *this, true, ©I); int innerEqual = 0; if (copyI.fUsed >= 2) argument
|
Completed in 367 milliseconds