Searched refs:cubicIndex (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | CubicIntersection.cpp | 391 static bool closeStart(const Cubic& cubic, int cubicIndex, Intersections& i, _Point& pt) { in closeStart() argument 392 if (i.fT[cubicIndex][0] != 0 || i.fT[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 395 pt = xy_at_t(cubic, (i.fT[cubicIndex][0] + i.fT[cubicIndex][1]) / 2); in closeStart() 399 static bool closeEnd(const Cubic& cubic, int cubicIndex, Intersections& i, _Point& pt) { in closeEnd() argument 401 if (i.fT[cubicIndex][last] != 1 || i.fT[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 404 pt = xy_at_t(cubic, (i.fT[cubicIndex][last] + i.fT[cubicIndex][last - 1]) / 2); in closeEnd()
|
/external/skia/experimental/Intersection/ |
D | CubicIntersection.cpp | 391 static bool closeStart(const Cubic& cubic, int cubicIndex, Intersections& i, _Point& pt) { in closeStart() argument 392 if (i.fT[cubicIndex][0] != 0 || i.fT[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 395 pt = xy_at_t(cubic, (i.fT[cubicIndex][0] + i.fT[cubicIndex][1]) / 2); in closeStart() 399 static bool closeEnd(const Cubic& cubic, int cubicIndex, Intersections& i, _Point& pt) { in closeEnd() argument 401 if (i.fT[cubicIndex][last] != 1 || i.fT[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 404 pt = xy_at_t(cubic, (i.fT[cubicIndex][last] + i.fT[cubicIndex][last - 1]) / 2); in closeEnd()
|
/external/skia/src/pathops/ |
D | SkDCubicIntersection.cpp | 415 static bool closeStart(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeStart() argument 416 if (i[cubicIndex][0] != 0 || i[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 419 pt = cubic.ptAtT((i[cubicIndex][0] + i[cubicIndex][1]) / 2); in closeStart() 423 static bool closeEnd(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeEnd() argument 425 if (i[cubicIndex][last] != 1 || i[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 428 pt = cubic.ptAtT((i[cubicIndex][last] + i[cubicIndex][last - 1]) / 2); in closeEnd()
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkDCubicIntersection.cpp | 415 static bool closeStart(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeStart() argument 416 if (i[cubicIndex][0] != 0 || i[cubicIndex][1] > CLOSE_ENOUGH) { in closeStart() 419 pt = cubic.ptAtT((i[cubicIndex][0] + i[cubicIndex][1]) / 2); in closeStart() 423 static bool closeEnd(const SkDCubic& cubic, int cubicIndex, SkIntersections& i, SkDPoint& pt) { in closeEnd() argument 425 if (i[cubicIndex][last] != 1 || i[cubicIndex][last - 1] < 1 - CLOSE_ENOUGH) { in closeEnd() 428 pt = cubic.ptAtT((i[cubicIndex][last] + i[cubicIndex][last - 1]) / 2); in closeEnd()
|