Searched refs:cubicIndex (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/pathops/ |
D | SkDCubicIntersection.cpp | 384 static bool closeStart(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeStart() argument 385 if (i[cubicIndex][0] != 0 || i[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 388 pt = cubic.ptAtT((i[cubicIndex][0] + i[cubicIndex][1]) / 2); in closeStart() 392 static bool closeEnd(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeEnd() argument 394 if (i[cubicIndex][last] != 1 || i[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 397 pt = cubic.ptAtT((i[cubicIndex][last] + i[cubicIndex][last - 1]) / 2); in closeEnd()
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkDCubicIntersection.cpp | 384 static bool closeStart(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeStart() argument 385 if (i[cubicIndex][0] != 0 || i[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 388 pt = cubic.ptAtT((i[cubicIndex][0] + i[cubicIndex][1]) / 2); in closeStart() 392 static bool closeEnd(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeEnd() argument 394 if (i[cubicIndex][last] != 1 || i[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 397 pt = cubic.ptAtT((i[cubicIndex][last] + i[cubicIndex][last - 1]) / 2); in closeEnd()
|