Home
last modified time | relevance | path

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

/external/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp59 SkDPoint cubicAtT = cubic.ptAtT(t); in binary_search() local
60 if (cubicAtT.approximatelyEqual(pt)) { in binary_search()
63 double calcX = cubicAtT.fX - pt.fX; in binary_search()
64 double calcY = cubicAtT.fY - pt.fY; in binary_search()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp34 SkDPoint cubicAtT = ptAtT(t); in binarySearch() local
35 double calcPos = (&cubicAtT.fX)[xAxis]; in binarySearch()
41 if (approximately_equal_half(lessPt.fX, cubicAtT.fX) in binarySearch()
42 && approximately_equal_half(lessPt.fY, cubicAtT.fY)) { in binarySearch()
60 if (approximately_equal_half(morePt.fX, cubicAtT.fX) in binarySearch()
61 && approximately_equal_half(morePt.fY, cubicAtT.fY)) { in binarySearch()
71 cubicAtT = testAtT; in binarySearch()
72 calcPos = (&cubicAtT.fX)[xAxis]; in binarySearch()