Home
last modified time | relevance | path

Searched refs:cubicAtT (Results 1 – 4 of 4) 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/skqp/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()
40 if (approximately_equal_half(lessPt.fX, cubicAtT.fX) in binarySearch()
41 && approximately_equal_half(lessPt.fY, cubicAtT.fY)) { in binarySearch()
59 if (approximately_equal_half(morePt.fX, cubicAtT.fX) in binarySearch()
60 && approximately_equal_half(morePt.fY, cubicAtT.fY)) { in binarySearch()
70 cubicAtT = testAtT; in binarySearch()
71 calcPos = (&cubicAtT.fX)[xAxis]; in binarySearch()
/external/skqp/src/pathops/
DSkPathOpsCubic.cpp34 SkDPoint cubicAtT = ptAtT(t); in binarySearch() local
35 double calcPos = (&cubicAtT.fX)[xAxis]; in binarySearch()
40 if (approximately_equal_half(lessPt.fX, cubicAtT.fX) in binarySearch()
41 && approximately_equal_half(lessPt.fY, cubicAtT.fY)) { in binarySearch()
59 if (approximately_equal_half(morePt.fX, cubicAtT.fX) in binarySearch()
60 && approximately_equal_half(morePt.fY, cubicAtT.fY)) { in binarySearch()
70 cubicAtT = testAtT; in binarySearch()
71 calcPos = (&cubicAtT.fX)[xAxis]; in binarySearch()