Searched refs:only_end_pts_in_common (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/pathops/
H A DSkDQuadIntersection.cpp81 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, &copyI); lookNearEnd(q1, q2, 1, *this, false, &copyI); lookNearEnd(q2, q1, 0, *this, true, &copyI); lookNearEnd(q2, q1, 1, *this, true, &copyI); int innerEqual = 0; if (copyI.fUsed >= 2) argument
H A DSkDCubicIntersection.cpp432 static bool only_end_pts_in_common(const SkDCubic& c1, const SkDCubic& c2) {
495 if (only_end_pts_in_common(c1, c2)) {
498 if (only_end_pts_in_common(c2, c1)) {
/external/skia/src/pathops/
H A DSkDQuadIntersection.cpp81 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, &copyI); lookNearEnd(q1, q2, 1, *this, false, &copyI); lookNearEnd(q2, q1, 0, *this, true, &copyI); lookNearEnd(q2, q1, 1, *this, true, &copyI); int innerEqual = 0; if (copyI.fUsed >= 2) argument
H A DSkDCubicIntersection.cpp432 static bool only_end_pts_in_common(const SkDCubic& c1, const SkDCubic& c2) {
495 if (only_end_pts_in_common(c1, c2)) {
498 if (only_end_pts_in_common(c2, c1)) {

Completed in 194 milliseconds